in reply to Win32 - Memory can not be "read"
Are the boxes under quite a lot of load? Does this load vary during the day and does the occurence of the problem relate to this in any way?
You mention that the scripts are spawning children. Are they waiting for them to exit or running in parallel with them? How about the child scripts? Does task manager show a shedload of child processes running?
If you can't capture the problem at the time, turn on performance monitoring and graph these things over the day, so you can look for spikes/ceilings around the time of the problem. Also, don't just look at the bad machines, duplicate all the measurements on the 'good' ones and look for differences.
Do the machines tend to get sick at approx the same time (suggests an external, i.e. network factor)? Look at the network topology, do the sick machines share any factors there (same switch?)?
Some possibilities: 'memory' (vm exhaustion?), number of handles per process, maximum process stack depth (not perl stack, the underlying C stack), number of threads per proc, total number of procs running on the box, total number of threads on the box, etc.
Since its intermittent, it could be a more classic race, caused by general slowdown etc. So, lastly, can you 'induce' an episode by adding some load to one of your machines? Try different types of load (a cpu burner, a mem hog, a ping flood, a process which starts a lot of children).
It sounds like a build environment, so I wouldn't imagine the perl is too complex - is this right? Or is there a lot of hairy code in there? And again, what about the child processes?
Hope this helps, intermittent probs are always tough.
Good luck.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Win32 - Memory can not be "read"
by HuckinFappy (Pilgrim) on Oct 05, 2006 at 14:53 UTC | |
by BrowserUk (Patriarch) on Oct 05, 2006 at 15:28 UTC | |
by HuckinFappy (Pilgrim) on Oct 05, 2006 at 16:09 UTC | |
by BrowserUk (Patriarch) on Oct 05, 2006 at 17:13 UTC | |
by mr_mischief (Monsignor) on Oct 06, 2006 at 15:09 UTC | |
by HuckinFappy (Pilgrim) on Oct 08, 2006 at 03:19 UTC | |
by jbert (Priest) on Oct 08, 2006 at 09:35 UTC | |
by Steve_p (Priest) on Oct 09, 2006 at 03:33 UTC | |
by HuckinFappy (Pilgrim) on Oct 09, 2006 at 15:52 UTC |