some stranage log message I didnt understand

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
adrianmak
Posts: 6
Joined: 2006/06/01 10:28:54

some stranage log message I didnt understand

Post by adrianmak » 2007/07/24 02:23:31

my server config is
dual Xeon CPU
6GB RAM

CentOS, kernel is using PAE kernel

My server is running
named server
apache + php + mysql server

I found that there are strange message in /var/log/messages log , I didn't understand


Jul 24 06:01:13 web01 sshd[18539]: gethostby*.getanswer: asked for "27.93.69.222.in-addr.arpa IN PTR", got type "A"

Jul 19 16:06:13 web01 kernel: Out of socket memory


What are the problems of the server ?

RAID-5
Posts: 77
Joined: 2005/05/05 17:35:34
Location: Quebec

some stranage log message I didnt understand

Post by RAID-5 » 2007/07/24 16:53:50

I get this kind of problem one time and I solved this by increasing tcp_mem in the kernel... this can be done by the following:

sysctl -w "net.ipv4.tcp_mem= 786432 1048576 1572864"
echo "net.ipv4.tcp_mem = 786432 1048576 1572864" >> /etc/sysctl.conf

adrianmak
Posts: 6
Joined: 2006/06/01 10:28:54

Re: some stranage log message I didnt understand

Post by adrianmak » 2007/07/25 01:08:16

[quote]
RAID-5 wrote:
I get this kind of problem one time and I solved this by increasing tcp_mem in the kernel... this can be done by the following:

sysctl -w "net.ipv4.tcp_mem= 786432 1048576 1572864"
echo "net.ipv4.tcp_mem = 786432 1048576 1572864" >> /etc/sysctl.conf[/quote]

my net.ipv4.tcp_mem setting was same to you.

Post Reply