Linux & Windows Tips, Tutorials, , Ideas

Linux Networking Cookbook

Linux Networking Cookbook ™ by Carla Schroder Copyright © 2008 O’Reilly Media, Inc. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titlesRead more about Linux Networking Cookbook[…]

Share Button

Troubleshooting the “Out of socket memory” error

Troubleshooting the “Out of socket memory” error

If the following error message occasionally gets written to the /var/log/messages file:

[[email protected] ~]# tail -f /var/log/messages
Jan 22 15:05:39 ztm-n08 kernel: [12624150.315458] Out of socket memory

It usually means one of two things:

  1. The server is running out of TCP memory
  2. There are too many orphaned sockets on the system

To see how much memory the kernel is configured to dedicate to TCP run:

[[email protected] ~]# cat /proc/sys/net/ipv4/tcp_mem
3480768 4641024 6961536
Share Button

How To Anti ddos Linux – Cpanel

DDoS protection is a big part of a sysadmins job these days, especially on big forums/hosts. Obviously, the best plan would be to buy another server, set up a CISCO firewall on it and reroute all traffic to main server. Unfortunately, this would require funds for another dedicated server. So, the only solution that would work right nowRead more about How To Anti ddos Linux – Cpanel[…]

Share Button

How To Download MP3 Tracks from a YouTube Video Using YouTube-DL

We all love listening to music. Whether it’s in the gym, at work, outside, music is part of our life. Everyone has their own music collection and undoubtedly everyone likes to expand it. While there are streaming services such as Spotify, many people still like downloading their own music and organizing their albums and playlists.Read more about How To Download MP3 Tracks from a YouTube Video Using YouTube-DL[…]

Share Button

How To Enabled mod_rewrite Debug Log in cPanel

If you are using mod_rewrite & find out some problem, you may need to do some debugging with the log write somewhere. For CentOS system with cPanel together with Apache or LiteSpeed, you may enabled mod_rewrite Debug Log as below. Edit Apache configuration located in “/etc/httpd/conf/httpd.conf“ Find the corresponding VirtualHost for your domain which youRead more about How To Enabled mod_rewrite Debug Log in cPanel[…]

Share Button

Linux Network Administrators Guide

  This book was written to provide a single reference for network administration in a Linux environment. Beginners and experienced users alike should find the information they need to cover nearly all important administration activities required to manage a Linux network configuration. The possible range of topics to cover is nearly limitless, so of courseRead more about Linux Network Administrators Guide[…]

Share Button