Re: Server trouble shooting

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <misc@...>
Date: Wednesday, October 31, 2007 - 10:37 am

On 10/30/2007 4:58 PM, Karsten McMinn wrote:
> ddb (4). (trace and ps) Have remote accesible console on the server.
> Check for hardware problems. Check for irregular network traffic.

Thanks for your reply. As already told the system didn't get stuck in
the ddb, so no info from it. The network traffic looked quite light.
34 web hits between 11 am and ~11:44 when the system stopped responding.
Only 2 unsuccessful ftp access that morning (ftp requires TLS).

I'm wondering if this might be caused due to the lack of memory (RAM)?

This is a wild and undereducated assumption: Did the system allow pings
and connections be established but not more because spawned processes
weren't able to get the memory required to run?

Currently the memory stats of the system are (with nearly no load):
# sysctl -n hw.physmem
66678784

# sysctl -n hw.usermem
66256896

# vmstat
procs memory page disks
r b w avm fre flt re pi po fr sr wd0 cd0
0 0 0 46456 4908 46 0 0 0 0 2 7 0

traps cpu
int sys cs us sy id
232 74 18 1 1 99

# top -b
load averages: 0.39, 0.22, 0.18 09:15:24
62 processes: 61 idle, 1 on processor
CPU states: 0.7% user, 0.0% nice, 0.4% system,
0.3% interrupt, 98.7% idle
Memory: Real: 24M/51M act/tot Free: 5476K Swap: 26M/256M used/to

While monitoring the system with "vmstat -w 1" and accessing web pages I
noticed that the free memory can drop significantly. I once got it down
quite a bit by running multiple http sessions simultaneously.

procs memory page disks
r b w avm fre flt re pi po fr sr wd0 cd0
2 0 0 56096 748 1903 0 7 0 0 0 240 0

traps cpu
int sys cs us sy id
355 1545 354 50 10 40

So I assume adding more memory to the system would be a good investment
and not money wasted, right?

On 10/30/2007 5:47 PM, Claus Niesen wrote:

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Server trouble shooting, Claus, (Tue Oct 30, 2:49 pm)
Re: Server trouble shooting, Brian A. Seklecki, (Tue Oct 30, 7:30 pm)
Re: Server trouble shooting, Claus Niesen, (Tue Oct 30, 6:47 pm)
Re: Server trouble shooting, Chris Tankersley, (Wed Oct 31, 10:56 am)
Re: Server trouble shooting, Claus, (Wed Oct 31, 10:37 am)
Re: Server trouble shooting, Karsten McMinn, (Tue Oct 30, 5:58 pm)