Categories
Development System & Network

Is there any tool/way to find out packet is getting dropped due to arp full?

My developer hypothesis that packet is getting dropped at arp layer. We increased the default value of neigh.default.gc_thresh3 1024 –> 2048 and now everything looks good. But I want to understand is there is a way to figure it out how to determine arp packet loss.I try to search for systemtap, tools but didn’t find […]

Categories
Development System & Network

Send Mails with Postfix through SSH Tunnel

I’m a bloody newbie to SMTP and Postfix but I have configured a Postfix SMTP Service with SASL authentication on Raspbian in a local network behind a firewall. There is also a Dovecat IMAP Server running on the same instance. I setted up reverse SSH Tunnels to to route incoming traffic on a external Server […]

Categories
Development System & Network

Bottleneck identification using iostat, vmstat, mpstat

I am doing some Apache and MySQL performance tests, then upgrading a single component and running tests again to see where the bottlenecks are. I have a local used server warehouse (Tams in Lindon UT) that is loaning me about 20 processors tomorrow to do these tests on to compare more cores vs higher clock […]

Categories
Development System & Network

loginctl terminate-user throws a failure to syslog

Ubuntu 18.04.4. After loginctl terminate-user domain from user domain itself, I see the following error in syslog Feb 13 22:41:45 domain systemd[1]: Removed slice User Slice of domain. Feb 13 22:41:52 domain systemd[1]: Created slice User Slice of domain. Feb 13 22:41:52 domain systemd[1]: Starting User Manager for UID 1000… Feb 13 22:41:52 domain systemd[1]: […]

Categories
Development System & Network

GuestVMs in a different VLAN than host in a HyperV Failover cluster

I’m smashing my head against a wall. I can’t seem to get my guest VMs to use a different VLAN than my host machine. I have a 2 node Hyper V cluster(2016). Each node has 2 10Gig NICs in a Team. This team is assigned to a vSwitch and set as External with Allow Management […]

Categories
Development System & Network

Correct permissions, ownership and group for nginx and php

I’ve read so many contradictions about this topic and can’t find anything official in terms or best practice. I have a basic, unmodified, nginx/php install on Ubuntu with no new users created yet, simply root. The current we directory is owned by root with the group root, root:root. What is the correct (most secure) way […]

Categories
CMS Development Magento

Redis config suggestions

I am comparing one of the website’s redis config in env.php. This is what they have: ‘cache’ => [ ‘frontend’ => [ ‘default’ => [ ‘id_prefix’ => ‘abe_’, ‘backend’ => ‘Cm_Cache_Backend_Redis’, ‘backend_options’ => [ ‘server’ => ‘127.0.0.1’, ‘database’ => ‘0’, ‘port’ => ‘6379’, ‘password’ => ”, ===>> extra line—- ‘compress_data’ => ‘1’, ===>> extra line—- […]

Categories
CMS Development Magento

Load Sub attributes in Super grouped table on product page

I have asked this question before Previous Question but i found some more information on how to set this up. We have a webshop wich has groups of products wich have all been given a custom attribute set per category, wich makes for about 40 attribute sets, for example a harddrive would have the attribute […]

Categories
CMS Development Joomla

Getting a content from a file and display it into another one

I am using a Joomla extension and need to get some specific elements in a tag (i.e. BLA BLA BLA) from a file put in a specific folder path, such as: component/view/tmpl/default.php and bring them into another one. Do you know an easy way to do it? Thanks to every body can help me

Categories
Development Linux

Where to put mutable data (logging, data)

New Nix user here. I’m trying to create a derivation for Blazegraph from the tgz release https://github.com/blazegraph/database/releases/download/BLAZEGRAPH_RELEASE_2_1_5/blazegraph.tar.gz. Inside it are multiple folders such as bin/, conf/, data/, lib/, log/, pid/ and war/. The blazegraph database can be launched using the command ./bin/blazegraph.sh start. Here is my initial default.nix: # { stdenv, fetchurl, makeWrapper, jre }: […]