| Summary: | processes die with SIGPROF, usually under heavy network load. | ||
|---|---|---|---|
| Product: | Base System | Reporter: | sdrew <sdrew> |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.1-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
sdrew
2000-12-12 16:30:01 UTC
Correction, it was actually kern_clock.c I modifed to prevent processes from
being killed off.
/usr/src/sys/kern >diff kern_clock.c kern_clock.c.orig
224,225c224
< printf("attempted to send SIGPROF to pid
%d\n",p->p_pid)
;
< /*psignal(p, SIGPROF); */
---
> psignal(p, SIGPROF);
After making this change about a week later the following hits was observed
in the syslog
/var/log/syslog.log:Dec 30 09:49:15 firewall /kernel: attempted to send
SIGPROF to pid 55305
/var/log/syslog.log:Dec 30 22:43:25 firewall /kernel: attempted to send
SIGPROF to pid 64583
/var/log/syslog.log:Dec 31 09:33:28 firewall /kernel: attempted to send
SIGPROF to pid 50306
Like I mentioned I have seen this bug on at least 4 different freebsd
machines.
There must be other people also having this problem and just not knowing why
they have processes disappearing. It is very intermittent, in my case it
took over a week and then I got these 3 hits.
Steve Drew.
State Changed From-To: open->closed This is almost certainly the result of a per-process kernel stack overflow. The size of this stack was increased recently, so updating to a recent stable should solve to problem. FYI, Even with the UPAGES=2 on 4.5-PRE-RELEASE this problem still ocurrs. Although maybe only once or twice per week. I have modified kern_clock.c to record whenever it sends a SIGPROF, and it's sent a couple over a week, killing off the processes (nat, snort). Steve. |