Hello, i was using last nfsen's snapshot in a freebsd 6.2 working fine.

Today i change my configuration from 4 sources to 20
Later reconfiguring nfsen, when it startup says this:
[EMAIL PROTECTED] :~# /usr/local/etc/rc.d/nfsen start
Starting nfsenStarting nfcpad: YYY_IN[1136] SSS_OUT[1139] FCE_OUT[1142] 
FCE_IN[1145] WWW_IN[1148] Servidores_IN[1151] XXX_OUT[1154] QQQ_IN[1157] 
XXX_IN[1160] SSS_IN[1163] QQQ_OUT: collector did not start - see logfile 
TTT_IN: collector did not start - see logfile TTT_OUT: collector did not 
start - see logfile ZZZ_OUT: collector did not start - see logfile 
RRR_OUT: collector did not start - see logfile YYY_OUT: collector did 
not start - see logfile Servidores_OUT: collector did not start - see 
logfile RRR_IN: collector did not start - see logfile ZZZ_IN: collector 
did not start - see logfile WWW_OUT: collector did not start - see logfile.
Starting nfsendUse of uninitialized value in concatenation (.) or string 
at /usr/local/bin/nfsend line 90.
Use of uninitialized value in string ne at /usr/local/bin/nfsend line 91.
Can not get semaphore: No space left on device at /usr/local/bin/nfsend 
line 716.
.
.
[EMAIL PROTECTED] :~#


I check and the space in my partition is fine. Then looking syslog 
messages i see this:
Apr  9 12:40:29 free /usr/local/bin/nfcapd[1166]: semget() error in 
bookkeeper.c line 244: No space left on device
Apr  9 12:40:29 free /usr/local/bin/nfcapd[1166]: initialize bookkeeper 
failed.
Apr  9 12:40:35 free /usr/local/bin/nfcapd[1169]: semget() error in 
bookkeeper.c line 244: No space left on device
Apr  9 12:40:35 free /usr/local/bin/nfcapd[1169]: initialize bookkeeper 
failed.
Apr  9 12:40:40 free /usr/local/bin/nfcapd[1172]: semget() error in 
bookkeeper.c line 244: No space left on device
Apr  9 12:40:40 free /usr/local/bin/nfcapd[1172]: initialize bookkeeper 
failed.
Apr  9 12:40:45 free /usr/local/bin/nfcapd[1175]: semget() error in 
bookkeeper.c line 244: No space left on device
Apr  9 12:40:45 free /usr/local/bin/nfcapd[1175]: initialize bookkeeper 
failed.
Apr  9 12:40:50 free /usr/local/bin/nfcapd[1178]: semget() error in 
bookkeeper.c line 244: No space left on device
Apr  9 12:40:50 free /usr/local/bin/nfcapd[1178]: initialize bookkeeper 
failed.
Apr  9 12:40:55 free /usr/local/bin/nfcapd[1181]: semget() error in 
bookkeeper.c line 244: No space left on device
Apr  9 12:40:55 free /usr/local/bin/nfcapd[1181]: initialize bookkeeper 
failed.
Apr  9 12:41:01 free /usr/local/bin/nfcapd[1184]: semget() error in 
bookkeeper.c line 244: No space left on device
Apr  9 12:41:01 free /usr/local/bin/nfcapd[1184]: initialize bookkeeper 
failed.
Apr  9 12:41:06 free /usr/local/bin/nfcapd[1187]: semget() error in 
bookkeeper.c line 244: No space left on device
Apr  9 12:41:06 free /usr/local/bin/nfcapd[1187]: initialize bookkeeper 
failed.
Apr  9 12:41:11 free /usr/local/bin/nfcapd[1190]: semget() error in 
bookkeeper.c line 244: No space left on device
Apr  9 12:41:11 free /usr/local/bin/nfcapd[1190]: initialize bookkeeper 
failed.
Apr  9 12:41:16 free /usr/local/bin/nfcapd[1193]: semget() error in 
bookkeeper.c line 244: No space left on device
Apr  9 12:41:16 free /usr/local/bin/nfcapd[1193]: initialize bookkeeper 
failed.
Apr  9 12:41:22 free nfsen[1194]: Startup. Version: snapshot-20070312 
$Id: nfsend 76 2007-03-13 12:20:11Z peter $

in that file i line 244 is the log line of the block:

        // get the semaphore
        sem_id = semget(sem_key, 1, IPC_CREAT | 0600);
        if ( sem_id == - 1 ) {
                struct shmid_ds buf;

                // this should not have failed
                LogError("semget() error in %s line %d: %s", __FILE__, 
__LINE__, strerror(errno) );

                // release shared memory
                shmdt((void *)(*bookkeeper));
                shmctl(shm_id, IPC_RMID, &buf);
                return ERR_FAILED;
        }

I start to read and seems to be some kind of semaphore exaustation.
then i run ipcs and prints
[EMAIL PROTECTED] :~# ipcs
Message Queues:
T           ID          KEY MODE        OWNER    GROUP

Shared Memory:
T           ID          KEY MODE        OWNER    GROUP
m       196608            0 --rw-------      gdm      gdm
m        65537            0 --rw-------      gdm      gdm
m       131074     23016456 --rw-------      www      www
m       131075     23016457 --rw-------      www      www
m       131076     23016458 --rw-------      www      www
m       131077     23016459 --rw-------      www      www
m       131078     23016460 --rw-------      www      www
m       131079     23016461 --rw-------      www      www
m       131080     23016462 --rw-------      www      www
m       131081     23016463 --rw-------      www      www
m       131082     23016464 --rw-------      www      www
m       131083     23016455 --rw-------      www      www

Semaphores:
T           ID          KEY MODE        OWNER    GROUP
s       131072     39793671 --rw-------      www      www
s       131073     39793672 --rw-------      www      www
s       131074     39793673 --rw-------      www      www
s       131075     39793674 --rw-------      www      www
s       131076     39793675 --rw-------      www      www
s       131077     39793676 --rw-------      www      www
s       131078     39793677 --rw-------      www      www
s       131079     39793678 --rw-------      www      www
s       131080     39793679 --rw-------      www      www
s       131081     39793680 --rw-------      www      www

[EMAIL PROTECTED] :~#


Anyone deal with this?

thanks
Nicolas Macia

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to