destr0yr.com
Advanced
Welcome to destr0yr's asylum
Thursday, March 18 2010 @ 05:08 PM PDT
     Google Search   
Google
Web destr0yr.com

     Topics   
Home
cPanel (4/0)
GeekLog (2/0)
Linux (17/0)
Gentoo (6/0)
Personal (2/0)
IT News (1/0)
Windows (16/0)
Ubuntu (3/0)
General News (1/0)

     User Functions   
:

:

Don't have an account yet? Sign up as a New User
Lost your password?

     Older Stories   

Saturday 10-Feb

  • Linux: rdesktop and AIGXL (Beryl) = translucent rather than opaque (0)

  • Sunday 21-Jan

  • Ubuntu: X: client 2 rejected from local host (0)

  • Tuesday 16-Jan

  • Microsoft CRM: Application Error (8004022c) SOAP Server Application Faulted (0)

  • Thursday 07-Dec

  • Linux: SMTP Mail Relay, Moxy SMTP Proxy, Qmail and Exim (0)

  • Monday 20-Nov

  • Windows: The current time on this computer and the current time (5)

  • Wednesday 15-Nov

  • Apache: [notice] child pid 13628 exit signal File size limit exceeded (25) (0)

  • Monday 06-Nov

  • Ubuntu: tsclient, rdesktop NOT IMPLEMENTED: System pointer message 0x7f00 (1)

  • Thursday 02-Nov

  • cPanel: su: cannot set user id: Resource temporarily unavailable (0)
  • Linux: CentOS and Out of socket memory (0)
  • Ubuntu: My move from Gentoo to Ubuntu (0)


  •    Linux: CentOS and Out of socket memory  
     
    Thursday, November 02 2006 @ 11:08 AM PST
    Contributed by:
    Views:: 8,505

    LinuxJust last night I upgraded a system with SWSoft's Virtuozzo to the latest kernel, as of Nov 2, 2006 and promptly reboot. After the reboot was complete and the Virtual Environments (VE's) back up and running, none of the IP's assigned to the VE's was accessible from outside the network. Attempting to ping and/or traceroute the IP's from core routing devices also failed, however, MAC addresses were being registered. Checking the host system (CentOS 4.2), I found the following when I ran `dmesg':

    Out of socket memory
    Out of socket memory
    Out of socket memory
    Out of socket memory
    Out of socket memory
    Out of socket memory
    Out of socket memory


    Quickly Googling for a solution, I discovered that the kernel parameter net.ipv4.tcp_mem is set quite low on CentOS 4.2 systems. Issuing the following commands resolved the issue:

    # service vz stop
    # sysctl -w "net.ipv4.tcp_mem= 786432 1048576 1572864"
    # echo "net.ipv4.tcp_mem = 786432 1048576 1572864" >> /etc/sysctl.conf
    # service vz start


    * Note: The "service vz stop/start" are there to stop and start Virtuozzo.

    After setting the new net.ipv4.tcp_mem limit and restarting Virtuozzo, IP's started responding. I attempted to reproduce this issue on another CentOS 4.2 system to no avail. Unfortunately, I forgot to write down the original settings of net.ipv4.tcp_mem.

    Update: This issue recurred on another machine. The defaults for that machine were net.ipv4.tcp_mem = 16384 20480 24576.


     

      

     
             


         What's Related   
  • SWSoft's
  • Virtuozzo
  • More by destr0yr
  • More from Linux

  •      Story Options   
  • Printable Story Format

  • Trackback

    Trackback URL for this entry: http://www.destr0yr.com/trackback.php/Linux-CentOS_OutOfSocketMemory

    No trackback comments for this entry.
    Linux: CentOS and Out of socket memory | 0 comments | Create New Account
    The following comments are owned by whomever posted them. This site is not responsible for what they say.