Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Cannot Reproduce
-
Affects Version/s: 0.8.8
-
Fix Version/s: None
-
Component/s: Chef Client, Chef Server
-
Labels:None
-
Environment:
FreeBSD 8, Chef 0.8.8
Description
This problem occured with chef-solr-indexer and chef-client.
The ruby process randomly freezes (still in PS, activity in logs stopped).
When I run truss -p <pid> (truss = strace-like for freebsd), the execution resumes.
Here is a lot with chef-client : http://pastie.org/888829
I think this is what happens : http://ph7spot.com/musings/system-timer
Ruby 1.8 use Green threads, and green threads are not guaranteed to be scheduled. So the process freeze. When I run truss, the FreeBSD kernel changes the state of the process, and this wakes up the thread.
Currently i am forced to run truss on all chef process using cron to avoid this problem.
Activity
Renaud Chaput
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Component/s | Chef Client [ 10000 ] | |
| Component/s | Chef Server [ 10002 ] |
Renaud Chaput
made changes -
| Description |
This problem occured with chef-solr-indexer and chef-client. The ruby process randomly freezes (still in PS, activity in logs stopped). When I run truss -p <pid> (truss = strace-like for freebsd), the execution resumes. I think this is what happens : http://ph7spot.com/musings/system-timer Ruby 1.8 use Green threads, and green threads are not guaranteed to be scheduled. So the process freeze. When I run truss, the FreeBSD kernel changes the state of the process, and this wakes up the thread. Currently i am forced to run truss on all chef process using cron to avoid this problem. |
This problem occured with chef-solr-indexer and chef-client. The ruby process randomly freezes (still in PS, activity in logs stopped). When I run truss -p <pid> (truss = strace-like for freebsd), the execution resumes. Here is a lot with chef-client : http://pastie.org/888829 I think this is what happens : http://ph7spot.com/musings/system-timer Ruby 1.8 use Green threads, and green threads are not guaranteed to be scheduled. So the process freeze. When I run truss, the FreeBSD kernel changes the state of the process, and this wakes up the thread. Currently i am forced to run truss on all chef process using cron to avoid this problem. |
Adam Jacob
made changes -
| Triage Status | [Triaged] |
Jeffrey Hulten
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Cannot Reproduce [ 5 ] |
Bryan McLellan [Opscode]
made changes -
| Workflow | jira [ 11576 ] | New OSS [ 19164 ] |
Bryan McLellan [Opscode]
made changes -
| Workflow | New OSS [ 19164 ] | OSS: Product Management [ 27073 ] |
| Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
|---|---|---|---|---|---|---|---|---|---|
|
940d 13h 23m | 1 | Jeffrey Hulten | 24/Oct/12 9:48 PM |
Added a log.