I'm trying to diagnose some random segfaults on a headless server and one thing that seems curious is that they only seem to happen under memory pressure and my swap size will not go above 0.
How can I force my machine to swap to make sure that it is working properly?
orca ~ # free
total used free shared buffers cached
Mem: 1551140 1472392 78748 0 333920 1046368
-/+ buffers/cache: 92104 1459036
Swap: 1060280 0 1060280
orca ~ # swapon -s
Filename Type Size Used Priority
/dev/sdb2 partition 1060280 0 -1
kern.logat the time of the segfaults? A message aboutoom-killerwould indicate that your system doesn't have enough virtual memory, which could mean that swap isn't being used. Is this a virtualized server (and what kind)? – Gilles Aug 29 '10 at 20:24segfault at 54 ip b7619ba8 sp bf9c3380 error 4I'm thinking it's a hardware problem which is going to be a pain to track down. This is a physical server with dual Athlon MP 2000+ processors and 1.5GB of RAM. It runs fairly stably but segfaults during compiles. – joshperry Aug 30 '10 at 0:45