<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/20674" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2019-10-11T01:30:53-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/20674</id>

		<entry>
		<author><name><![CDATA[m4s]]></name></author>
		<updated>2019-10-11T01:30:53-04:00</updated>

		<published>2019-10-11T01:30:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107877#p107877</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107877#p107877"/>
		<title type="html"><![CDATA[Script sw108i kills my bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107877#p107877"><![CDATA[
<blockquote class="uncited"><div>...<br>I believe that I saw this person on IRC describe this problem, and I think I remember that the bot is on a free shell.  One that is known to have automated scripts to detect rules violations (too many bots, etc.) ,  so  I wouldn't be surprised if they have something automated to detect a process that is using too much of resources.<br></div></blockquote>Right, I was on freenode and described my problem on #xshellz and on #eggdrop. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> And yes, I have been using a free shell since 2017.<br>I always use the autobotchk to create a crontab line so the bot started automatically after the kill.<br><br>Perhaps I have to ask someone in the Script request section to write a new script for me.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12672">m4s</a> — Fri Oct 11, 2019 1:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2019-10-10T20:49:10-04:00</updated>

		<published>2019-10-10T20:49:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107875#p107875</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107875#p107875"/>
		<title type="html"><![CDATA[Script sw108i kills my bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107875#p107875"><![CDATA[
<blockquote class="uncited"><div>...<br>This loop will continue until it manages to find a channel member not in the list. <br>...<br><br>As for "* TERMINATE SIGNAL -- SIGNING OFF'", this would only be logged if your eggdrop process did receive the SIGTERM signal.</div></blockquote>Could it be that the script is doing something - perhaps getting stuck in a loop - and the shell detects a lot of resources consumed, and kills the process that is consuming them?<br><br>I believe that I saw this person on IRC describe this problem, and I think I remember that the bot is on a free shell.  One that is known to have automated scripts to detect rules violations (too many bots, etc.) ,  so  I wouldn't be surprised if they have something automated to detect a process that is using too much of resources.<br><br>This is very curious though:<blockquote class="uncited"><div>When I realized my eggdrop is not on irc I checked the running processes (ps -A) and the eggdrop as a process was among the running processes.</div></blockquote>Are we to assume that bot was started again by crontab and botchk?<br><br>Well ok.<br>Whatever started it...  what's keeping bot from logging into the irc server?<br>That's mysterious.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Thu Oct 10, 2019 8:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2019-10-10T17:19:49-04:00</updated>

		<published>2019-10-10T17:19:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107873#p107873</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107873#p107873"/>
		<title type="html"><![CDATA[Script sw108i kills my bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107873#p107873"><![CDATA[
Had another look at that script...<br>There is a potential deadlock in the "rnduser" proc; where the script will pick a random nickname in the list of channel members, and make sure it's not present in the list of bots. If it is, it will pick a new one and repeat the test... This loop will continue until it manages to find a channel member not in the list. Still, it'd only be a real issue where the list of channel members solely consists of nicks in the list of bots...<br><br>All in all, though there's a lot that could be tidied up in that script, I can't see any real reason for it causing your eggdrop to crash...<br><br>As for "* TERMINATE SIGNAL -- SIGNING OFF'", this would only be logged if your eggdrop process did receive the SIGTERM signal.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Thu Oct 10, 2019 5:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[m4s]]></name></author>
		<updated>2019-10-10T12:36:06-04:00</updated>

		<published>2019-10-10T12:36:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107866#p107866</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107866#p107866"/>
		<title type="html"><![CDATA[Script sw108i kills my bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107866#p107866"><![CDATA[
<blockquote class="uncited"><div>That log-entry suggests your eggdrop process is actively being killed off on your host (not uncommonly by an admin using the kill command, or a resource-management system). I can't find anything in the script that would cause your eggdrop to send a SIGTERM signal to itself - could be a coincidence that your admin started killing your eggdrop after you started using the script?</div></blockquote>Thanks for your reply nml375. This is strange.<br>When I realized my eggdrop is not on irc I checked the running processes (ps -A) and the eggdrop as a process was among the running processes.<br><br>???<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12672">m4s</a> — Thu Oct 10, 2019 12:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2019-10-09T16:19:09-04:00</updated>

		<published>2019-10-09T16:19:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107863#p107863</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107863#p107863"/>
		<title type="html"><![CDATA[Script sw108i kills my bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107863#p107863"><![CDATA[
That log-entry suggests your eggdrop process is actively being killed off on your host (not uncommonly by an admin using the kill command, or a resource-management system). I can't find anything in the script that would cause your eggdrop to send a SIGTERM signal to itself - could be a coincidence that your admin started killing your eggdrop after you started using the script?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Oct 09, 2019 4:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[m4s]]></name></author>
		<updated>2019-10-09T12:52:25-04:00</updated>

		<published>2019-10-09T12:52:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107862#p107862</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107862#p107862"/>
		<title type="html"><![CDATA[Script sw108i kills my bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107862#p107862"><![CDATA[
Hi,<br><br>I started to use this script last week but it 'kills' my bot. In the eggdrop.log I found this:<br>* TERMINATE SIGNAL -- SIGNING OFF. <br><br>Can someone have a look pls?<br><a href="https://pastebin.com/aSDJ27j7" class="postlink">https://pastebin.com/aSDJ27j7</a><br><br>Thank You!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12672">m4s</a> — Wed Oct 09, 2019 12:52 pm</p><hr />
]]></content>
	</entry>
	</feed>
