ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001625ClearOSapp-network-detail-report - Network Detail Reportpublic2014-03-25 10:192014-04-22 13:24
Reporterbchambers 
Assigned Tobchambers 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version6.5.0 
Target Version6.5.0 UpdatesFixed in Version6.5.0 Updates 
Summary0001625: /usr/sbin/networkdetail2db can be spawned dozens of times
DescriptionCreating very high server loads and causing on the server that are completely unrelated and difficult for users to narrow down/troubleshoot.

This script should make use of the "Script.php" library to ensure only one version is running at any given instant.
Additional InformationSnippet of ps afxw

 2078 ? Ss 0:02 crond
16234 ? S 0:00 \_ CROND
16240 ? Ss 0:00 | \_ /bin/sh -c /usr/sbin/networkdetail2db >/dev/null 2>&1
16243 ? S 0:00 | \_ /usr/clearos/sandbox/usr/bin/php /usr/sbin/networkdetail2db
16350 ? S 0:00 \_ CROND
16355 ? Ss 0:00 | \_ /bin/sh -c /usr/sbin/networkdetail2db >/dev/null 2>&1
16360 ? S 0:00 | \_ /usr/clearos/sandbox/usr/bin/php /usr/sbin/networkdetail2db
16471 ? S 0:00 \_ CROND
16474 ? Ss 0:00 | \_ /bin/sh -c /usr/sbin/networkdetail2db >/dev/null 2>&1
16478 ? S 0:00 | \_ /usr/clearos/sandbox/usr/bin/php /usr/sbin/networkdetail2db
16631 ? S 0:00 \_ CROND
16636 ? Ss 0:00 | \_ /bin/sh -c /usr/sbin/networkdetail2db >/dev/null 2>&1
16639 ? S 0:00 | \_ /usr/clearos/sandbox/usr/bin/php /usr/sbin/networkdetail2db
16786 ? S 0:00 \_ CROND
16791 ? Ss 0:00 | \_ /bin/sh -c /usr/sbin/networkdetail2db >/dev/null 2>&1
16795 ? S 0:00 | \_ /usr/clearos/sandbox/usr/bin/php /usr/sbin/networkdetail2db
16905 ? S 0:00 \_ CROND
16908 ? Ss 0:00 | \_ /bin/sh -c /usr/sbin/networkdetail2db >/dev/null 2>&1
16912 ? S 0:00 | \_ /usr/clearos/sandbox/usr/bin/php /usr/sbin/networkdetail2db
17024 ? S 0:00 \_ CROND
17027 ? Ss 0:00 | \_ /bin/sh -c /usr/sbin/networkdetail2db >/dev/null 2>&1
17030 ? S 0:00 | \_ /usr/clearos/sandbox/usr/bin/php /usr/sbin/networkdetail2db
17168 ? S 0:00 \_ CROND
17173 ? Ss 0:00 | \_ /bin/sh -c /usr/sbin/networkdetail2db >/dev/null 2>&1
17176 ? S 0:00 | \_ /usr/clearos/sandbox/usr/bin/php /usr/sbin/networkdetail2db
17327 ? S 0:00 \_ CROND
17331 ? Ss 0:00 | \_ /bin/sh -c /usr/sbin/networkdetail2db >/dev/null 2>&1
17335 ? S 0:00 | \_ /usr/clearos/sandbox/usr/bin/php /usr/sbin/networkdetail2db
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001159)
user2
2014-03-25 11:35

What's Script.php? Is there documentation somewhere?
(0001160)
user2
2014-03-25 11:37

The network2db script should also use it. This script should only take a few seconds to run, but if something is hosed on the system causing the script to hang, it shouldn't make things worse!
(0001161)
bchambers (administrator)
2014-03-25 12:28

Documentation added here:

http://www.clearfoundation.com/docs/developer/framework/tutorials/creating_scripts [^]

- Issue History
Date Modified Username Field Change
2014-03-25 10:19 bchambers New Issue
2014-03-25 11:35 user2 Note Added: 0001159
2014-03-25 11:35 user2 Status new => confirmed
2014-03-25 11:37 user2 Note Added: 0001160
2014-03-25 12:28 bchambers Note Added: 0001161
2014-03-27 08:14 bchambers Assigned To => bchambers
2014-03-27 08:14 bchambers Status confirmed => assigned
2014-03-28 08:29 bchambers Reproducibility have not tried => always
2014-03-28 08:29 bchambers Resolution open => fixed
2014-03-28 08:29 bchambers Fixed in Version => 6.5.0 Updates
2014-04-22 13:24 user2 Status assigned => resolved
2014-04-22 13:24 user2 Status resolved => closed