[Bro-Dev] [JIRA] (BIT-1068) pin_cpus error message

2013-08-27 Thread Daniel Thayer (JIRA)

[ 
https://bro-tracker.atlassian.net/browse/BIT-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13807#comment-13807
 ] 

Daniel Thayer commented on BIT-1068:


Yes, it was intentional.  Without that check, then if true is not found
(very unlikely), then bro will always fail to start (when CPU pinning is in 
use).


 pin_cpus error message
 --

 Key: BIT-1068
 URL: https://bro-tracker.atlassian.net/browse/BIT-1068
 Project: Bro Issue Tracker
  Issue Type: Problem
  Components: BroControl
Affects Versions: 2.2
Reporter: Seth Hall
Assignee: Daniel Thayer
 Fix For: 2.2


 I seem to be having a problem with the cpu_pin feature of broctl.  I'm 
 getting the following output...
 [rootsh@xx worker-1-6]# cat stderr.log 
 sched_setaffinity: Invalid argument
 failed to set pid 0's affinity.
 Daniel, any clue what I should be looking into or information I can provide?



--
This message was sent by Atlassian JIRA
(v6.1-OD-06#6139)
___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


[Bro-Dev] [JIRA] (BIT-1068) pin_cpus error message

2013-08-27 Thread Robin Sommer (JIRA)

[ 
https://bro-tracker.atlassian.net/browse/BIT-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13806#comment-13806
 ] 

Robin Sommer commented on BIT-1068:
---

Is the true here intentional?

{code}
[…]
# message just in case there's some other reason for the failure).
true
if [ $? -eq 0 ]; then
[…]
{code}



 pin_cpus error message
 --

 Key: BIT-1068
 URL: https://bro-tracker.atlassian.net/browse/BIT-1068
 Project: Bro Issue Tracker
  Issue Type: Problem
  Components: BroControl
Affects Versions: 2.2
Reporter: Seth Hall
Assignee: Daniel Thayer
 Fix For: 2.2


 I seem to be having a problem with the cpu_pin feature of broctl.  I'm 
 getting the following output...
 [rootsh@xx worker-1-6]# cat stderr.log 
 sched_setaffinity: Invalid argument
 failed to set pid 0's affinity.
 Daniel, any clue what I should be looking into or information I can provide?



--
This message was sent by Atlassian JIRA
(v6.1-OD-06#6139)

___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


[Bro-Dev] [JIRA] (BIT-1068) pin_cpus error message

2013-08-26 Thread Daniel Thayer (JIRA)

 [ 
https://bro-tracker.atlassian.net/browse/BIT-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Thayer updated BIT-1068:
---

Summary: pin_cpus error message  (was: cpu_pin problem)

 pin_cpus error message
 --

 Key: BIT-1068
 URL: https://bro-tracker.atlassian.net/browse/BIT-1068
 Project: Bro Issue Tracker
  Issue Type: Problem
  Components: BroControl
Affects Versions: 2.2
Reporter: Seth Hall
Assignee: Daniel Thayer

 I seem to be having a problem with the cpu_pin feature of broctl.  I'm 
 getting the following output...
 [rootsh@xx worker-1-6]# cat stderr.log 
 sched_setaffinity: Invalid argument
 failed to set pid 0's affinity.
 Daniel, any clue what I should be looking into or information I can provide?



--
This message was sent by Atlassian JIRA
(v6.1-OD-06#6139)
___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


[Bro-Dev] [JIRA] (BIT-1068) pin_cpus error message

2013-08-26 Thread Daniel Thayer (JIRA)

 [ 
https://bro-tracker.atlassian.net/browse/BIT-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Thayer updated BIT-1068:
---

Status: Merge Request  (was: Open)

 pin_cpus error message
 --

 Key: BIT-1068
 URL: https://bro-tracker.atlassian.net/browse/BIT-1068
 Project: Bro Issue Tracker
  Issue Type: Problem
  Components: BroControl
Affects Versions: 2.2
Reporter: Seth Hall
Assignee: Daniel Thayer

 I seem to be having a problem with the cpu_pin feature of broctl.  I'm 
 getting the following output...
 [rootsh@xx worker-1-6]# cat stderr.log 
 sched_setaffinity: Invalid argument
 failed to set pid 0's affinity.
 Daniel, any clue what I should be looking into or information I can provide?



--
This message was sent by Atlassian JIRA
(v6.1-OD-06#6139)
___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


[Bro-Dev] [JIRA] (BIT-1068) pin_cpus error message

2013-08-26 Thread Daniel Thayer (JIRA)

[ 
https://bro-tracker.atlassian.net/browse/BIT-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13803#comment-13803
 ] 

Daniel Thayer commented on BIT-1068:


In branch topic/dnthayer/ticket1068, I've added a check of the CPU pin command
which generates a more user-friendly error message if it fails.


 pin_cpus error message
 --

 Key: BIT-1068
 URL: https://bro-tracker.atlassian.net/browse/BIT-1068
 Project: Bro Issue Tracker
  Issue Type: Problem
  Components: BroControl
Affects Versions: 2.2
Reporter: Seth Hall
Assignee: Daniel Thayer

 I seem to be having a problem with the cpu_pin feature of broctl.  I'm 
 getting the following output...
 [rootsh@xx worker-1-6]# cat stderr.log 
 sched_setaffinity: Invalid argument
 failed to set pid 0's affinity.
 Daniel, any clue what I should be looking into or information I can provide?



--
This message was sent by Atlassian JIRA
(v6.1-OD-06#6139)
___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev