[Nagios-devel] Nagios Multithreaded Event Loops Patch is Here (2.x)
Posted: Sat Aug 29, 2009 3:57 am
--_002_3679AE44D8C04547A4F3EB83E779056282A766CBAFMBX01ldschurc_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hello Everyone,
Sorry it's a bit late at night for those of you who have been waiting on it=
, but I went to the doctors office today and while waiting I decided to rev=
iew the source code again.
In the process of reviewing the source code I found a race condition, so I =
had to fix the condition and test it again.
I've tested this version of the code on my laptop under a VM and it appears=
to work well, but I've not had a chance to test it at work since I was out=
all day and couldn't VPN in.
Nevertheless I feel confident in releasing this version into the wild for t=
esting.
It was generated against Nagios 2.7 but I see no reason it wouldn't work ag=
ainst any later version, and with minimal modifications will probably work =
just fine on 3x as well.
If this version works as expected in testing, I will have a 3x version avai=
lable as early next week as my schedule will permit.
Disclaimer: This patch is for testing, debugging and commenting purposes o=
nly. It may very well cause monkeys, cats, dogs and fish to rain out of th=
e sky, your hair may stand on end requiring large amounts of gel to set it =
back down and/or other devastating events may occur, if you put it into a p=
roduction system at this time. Though I am deeply sorry if your server mel=
ts or some other major catastrophe occurs as a result of running this softw=
are, either directly or indirectly, I assume no responsibility for any such=
events that may or may not occur.=20=20
This patch should be assumed to be radioactive it should be handled with th=
e normal care afforded such materials, and should only be handled by traine=
d professionals in a laboratory environment
On the other hand I do hope you see a major performance improvement
Sincerely,
Steven D. Morrey
NOTICE: This email message is for the sole use of the intended recipient(s=
) and may contain confidential and privileged information. Any unauthorized=
review, use, disclosure or distribution is prohibited. If you are not the =
intended recipient, please contact the sender by reply email and destroy al=
l copies of the original message.
--_002_3679AE44D8C04547A4F3EB83E779056282A766CBAFMBX01ldschurc_
Content-Type: text/x-patch; name="thread_patch.diff"
Content-Description: thread_patch.diff
Content-Disposition: attachment; filename="thread_patch.diff"; size=64646;
creation-date="Fri, 28 Aug 2009 22:49:51 GMT";
modification-date="Fri, 28 Aug 2009 22:49:51 GMT"
Content-Transfer-Encoding: base64
ZGl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WRfY29tbWFuZCxzaXpl
b2YocHJvY2Vzc2VkX2NvbW1hbmQpLDApOworCXB0aHJlYWRfbXV0ZXhfdW5sb2NrKCZNQUNST19N
VVRFWCk7CiAJc3RyaXAocHJvY2Vzc2VkX2NvbW1hbmQpOwogCiAJLyogZ2V0IHRoZSBjb21tYW5k
IHN0YXJ0IHRpbWUgKi8KQEAgLTI0MjYsNiArMjQyOSw3IEBACiAJICAgICAgICB9CiAKIAkvKiBn
cmFiIHRoZSBob3N0IG1hY3JvcyAqLworCXB0aHJlYWRfbXV0ZXhfbG9jaygmTUFDUk9fTVVURVgp
OwogCWNsZWFyX3ZvbGF0aWxlX21hY3JvcygpOwogCWdyYWJfaG9zdF9tYWNyb3MoaHN0KTsKIA
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hello Everyone,
Sorry it's a bit late at night for those of you who have been waiting on it=
, but I went to the doctors office today and while waiting I decided to rev=
iew the source code again.
In the process of reviewing the source code I found a race condition, so I =
had to fix the condition and test it again.
I've tested this version of the code on my laptop under a VM and it appears=
to work well, but I've not had a chance to test it at work since I was out=
all day and couldn't VPN in.
Nevertheless I feel confident in releasing this version into the wild for t=
esting.
It was generated against Nagios 2.7 but I see no reason it wouldn't work ag=
ainst any later version, and with minimal modifications will probably work =
just fine on 3x as well.
If this version works as expected in testing, I will have a 3x version avai=
lable as early next week as my schedule will permit.
Disclaimer: This patch is for testing, debugging and commenting purposes o=
nly. It may very well cause monkeys, cats, dogs and fish to rain out of th=
e sky, your hair may stand on end requiring large amounts of gel to set it =
back down and/or other devastating events may occur, if you put it into a p=
roduction system at this time. Though I am deeply sorry if your server mel=
ts or some other major catastrophe occurs as a result of running this softw=
are, either directly or indirectly, I assume no responsibility for any such=
events that may or may not occur.=20=20
This patch should be assumed to be radioactive it should be handled with th=
e normal care afforded such materials, and should only be handled by traine=
d professionals in a laboratory environment
On the other hand I do hope you see a major performance improvement
Sincerely,
Steven D. Morrey
NOTICE: This email message is for the sole use of the intended recipient(s=
) and may contain confidential and privileged information. Any unauthorized=
review, use, disclosure or distribution is prohibited. If you are not the =
intended recipient, please contact the sender by reply email and destroy al=
l copies of the original message.
--_002_3679AE44D8C04547A4F3EB83E779056282A766CBAFMBX01ldschurc_
Content-Type: text/x-patch; name="thread_patch.diff"
Content-Description: thread_patch.diff
Content-Disposition: attachment; filename="thread_patch.diff"; size=64646;
creation-date="Fri, 28 Aug 2009 22:49:51 GMT";
modification-date="Fri, 28 Aug 2009 22:49:51 GMT"
Content-Transfer-Encoding: base64
ZGlmZiAtTmF1ciBuYWdpb3MtMi43LWNsZWFuL2Jhc2UvY2hlY2tzLmMgbmFnaW9zLTIuNy1tb2Rp
ZmllZC9iYXNlL2NoZWNrcy5jCi0tLSBuYWdpb3MtMi43LWNsZWFuL2Jhc2UvY2hlY2tzLmMJMjAw
Ni0wNi0yMCAxODo1OToxOS4wMDAwMDAwMDAgLTA2MDAKKysrIG5hZ2lvcy0yLjctbW9kaWZpZWQv
YmFzZS9jaGVja3MuYwkyMDA5LTA4LTI4IDIxOjUyOjQ1LjAwMDAwMDAwMCAtMDYwMApAQCAtODUs
NiArODUsNyBAQAogZXh0ZXJuIHB0aHJlYWRfdCAgICAgICB3b3JrZXJfdGhyZWFkc1tUT1RBTF9X
T1JLRVJfVEhSRUFEU107CiBleHRlcm4gY2lyY3VsYXJfYnVmZmVyIHNlcnZpY2VfcmVzdWx0X2J1
ZmZlcjsKIAorZXh0ZXJuIHB0aHJlYWRfbXV0ZXhfdCBNQUNST19NVVRFWDsKICNpZmRlZiBFTUJF
RERFRFBFUkwKIGV4dGVybiBpbnQgICAgICB1c2VfZW1iZWRkZWRfcGVybDsKICNlbmRpZgpAQCAt
MjQxLDYgKzI0Miw3IEBACiAJc3ZjLT5pc19leGVjdXRpbmc9VFJVRTsKIAogCS8qIGdyYWIgdGhl
IGhvc3QgYW5kIHNlcnZpY2UgbWFjcm8gdmFyaWFibGVzICovCisJcHRocmVhZF9tdXRleF9sb2Nr
KCZNQUNST19NVVRFWCk7CiAJY2xlYXJfdm9sYXRpbGVfbWFjcm9zKCk7CiAJZ3JhYl9ob3N0X21h
Y3Jvcyh0ZW1wX2hvc3QpOwogCWdyYWJfc2VydmljZV9tYWNyb3Moc3ZjKTsKQEAgLTI1Miw2ICsy
NTQsNyBAQAogCiAJLyogcHJvY2VzcyBhbnkgbWFjcm9zIGNvbnRhaW5lZCBpbiB0aGUgYXJndW1l
bnQgKi8KIAlwcm9jZXNzX21hY3JvcyhyYXdfY29tbWFuZCxwcm9jZXNzZWRfY29tbWFuZCxzaXpl
b2YocHJvY2Vzc2VkX2NvbW1hbmQpLDApOworCXB0aHJlYWRfbXV0ZXhfdW5sb2NrKCZNQUNST19N
VVRFWCk7CiAJc3RyaXAocHJvY2Vzc2VkX2NvbW1hbmQpOwogCiAJLyogZ2V0IHRoZSBjb21tYW5k
IHN0YXJ0IHRpbWUgKi8KQEAgLTI0MjYsNiArMjQyOSw3IEBACiAJICAgICAgICB9CiAKIAkvKiBn
cmFiIHRoZSBob3N0IG1hY3JvcyAqLworCXB0aHJlYWRfbXV0ZXhfbG9jaygmTUFDUk9fTVVURVgp
OwogCWNsZWFyX3ZvbGF0aWxlX21hY3JvcygpOwogCWdyYWJfaG9zdF9tYWNyb3MoaHN0KTsKIA
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]