Using an old switch cisco C3548XL switch the CPU load was increasing gradually over a few months. Looking at the output of show proc the TTY Background process was usings 30-40% CPU load and the system overall was at 80-90%. This caused some increased ping times, but, switching to the other machines on the switch [...]
Entries Tagged as 'Networking'
TTY Background causing high CPU load
May 26th, 2009 · No Comments
Tags: Cisco · Networking
ProFTPd enable FXP uploads
May 22nd, 2009 · No Comments
Wanted to enable FXP for an upload on the proftpd server. URL: http://www.proftpd.org/localsite/Userguide/linked/x908.html Was receiving errors in the log files: May 21 12:30:34 server proftpd[6498] localhost (hostname[111.111.143.131]): Refused PORT 222,222,333,11,17,43 (address mismatch) May 21 12:30:36 server proftpd[6498] localhost (hostname[111.111.143.131]): SECURITY VIOLATION: Passive connection from 222.222.333.11 rejected. Enabled the following in the global configuration file which [...]
Tags: Networking · Operating System · Protocols
Apache – No space left on device
May 14th, 2009 · No Comments
Apache had crashed and when trying to restart it with service restart apache or /etc/init.d/apache restart the following error would result in the error_log file: Â (28)No space left on device: mod_rewrite: could not create rewrite_log_lock Configuration Failed There weren’t any apache processes lingering around and the disk had plenty of space and inodes left. The [...]
Tags: Linux · Networking · Operating System
DRBD mirroring
January 31st, 2009 · No Comments
Not tried this yet, but, would like to soon. Just a bit of a reminder for me to try it out. URL: http://www.drbd.org/ DRBD® refers to block devices designed as a building block to form high availability (HA) clusters. This is done by mirroring a whole block device via an assigned network. It is shown as network raid-1- DRBD.
Tags: Linux · Networking · Operating System
netstat handy commands
January 23rd, 2009 · No Comments
These were found in a google cached page: URL:Â http://www.cyberls.com/forum/index.php?t=tree&th=52& List of connected ips to port 80 : netstat -apn|grep :80|awk ‘{print $5}’ | awk -F\: ‘{print $1} ‘> /tmp/iplist List of connected ips in a sort way so that you can find no of conn from each : netstat -apn|grep :80|awk ‘{print $5}’ |sort [...]
Tags: Linux · Networking · Operating System