Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


running cactid from 0.8.3a

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions
Author Message
chadw
Cacti User


Joined: 17 Jul 2003
Posts: 52

PostPosted: Fri Sep 12, 2003 2:31 pm    Post subject: running cactid from 0.8.3a Reply with quote

I've just upgraded to 0.8.3a and compiled cactid on Sparc/Solaris.

The 0.8.1 version of cactid ran as a daemon, it appears that 0.8.3a cactid runs once and is meant to be scheduled with cron. Is this a correct assumption?

Chad
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2234
Location: Carlisle, PA

PostPosted: Thu Oct 02, 2003 1:05 am    Post subject: Reply with quote

Yes, this is correct. I made this change to simplify certain memory issues that were cropping up and causing crashes after long runtimes. I have since run cactid through a memory leak detection program and cleaned up most or all of the leaks. There is no reason for cactid to be a daemon at this point though since it can only poll at a fixed interval.

-Ian
Back to top
fletch
Guest





PostPosted: Mon Oct 06, 2003 1:50 pm    Post subject: How many are using cactid with success? Reply with quote

After reading the disclaimer in the cactid README:
"This code represents the future replacement for cmd.php. As you can see
from the short changelog, development on this code has only just begun. It
has been included in the main release for *testing* purposes only! Please
stick to cmd.php for now.

-Ian
"

Was wondering howmany are running it with success.
My cmd.php is sometimes taking longer than the 5 minute cronjob interval to complete.
I've configured and compiled cactid and thought I'd ask before replacing it in the crontab (assuming that is all one must do?) !

Whats the worst that could happen ??
Back to top
eyechart



Joined: 25 Apr 2002
Posts: 49

PostPosted: Mon Oct 06, 2003 11:34 pm    Post subject: Reply with quote

I'm running cactid no problem on a mandrake 9.1 system.

Search the forum for more posts regarding what rpms need to be installed in order to compile cactid successfully.


-ec
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2234
Location: Carlisle, PA

PostPosted: Tue Oct 07, 2003 9:14 pm    Post subject: Reply with quote

If you were having any problems under BSD or Solaris, give the latest pre-release a try as I just made some autoconf updates.

With regards to the usability of cactid at the moment, if you can get it to run, it is probably good to use. Most of cactid's issues at the moment have to do with library detection and compatibility, not stability. I am currently using it on a production system with about 600 targets and it works great.

-Ian
Back to top
Guest






PostPosted: Fri Oct 24, 2003 3:04 pm    Post subject: Reply with quote

I'm curious if you have run into any memory leak problems in 8.3a; I'm running a box with RH7.3, Dual PIII 1G, 1G RAM, PHP 4.3.3, Apache 1.3.28 and MySQL 4.0.14. Currently, I'm scanning about 6 devices, which range in ports from 24-96, and the process consistently sucks up memory to the point where the machine crashes and requires a manual reboot. I haven't honestly done too much debugging yet, but if you have any suggestions as to what might cause this I'm more than open to them.

Aside from running a TACACS+ server with almost no usage, the box is dedicated to this service.

Any suggestions would be warmly welcomed.

Thanks,



raX wrote:
Yes, this is correct. I made this change to simplify certain memory issues that were cropping up and causing crashes after long runtimes. I have since run cactid through a memory leak detection program and cleaned up most or all of the leaks. There is no reason for cactid to be a daemon at this point though since it can only poll at a fixed interval.

-Ian
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2234
Location: Carlisle, PA

PostPosted: Fri Oct 24, 2003 9:43 pm    Post subject: Reply with quote

Anonymous wrote:
I'm curious if you have run into any memory leak problems in 8.3a; I'm running a box with RH7.3, Dual PIII 1G, 1G RAM, PHP 4.3.3, Apache 1.3.28 and MySQL 4.0.14. Currently, I'm scanning about 6 devices, which range in ports from 24-96, and the process consistently sucks up memory to the point where the machine crashes and requires a manual reboot. I haven't honestly done too much debugging yet, but if you have any suggestions as to what might cause this I'm more than open to them.


I am having no memory leak problems under the 0.8.3a version of cactid. I cannot say for sure, but older versions of cactid might have memory leak problems. The problems you describe sound a lot like cactid is running as a daemon. Even if cactid still had some memory leaks, it would hardly matter since it is being run out of cron. Every time the process ends, the OS frees its memory regardless of whether cactid did or not.

-Ian
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group