gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] Major progress!


From: Hal Murray
Subject: Re: [gpsd-dev] Major progress!
Date: Mon, 09 Feb 2015 22:10:24 -0800

So far it looks OK on Linux.

I'm having troubles on NetBSD and FreeBSD.

FreeBSD gets typical lost sentence problems.  So I changed WRITE_PAD from 
0.001 to 0.01
Then it hung on the second or 3rd test.  It seems easy to reproduce.

top says:
  PID USERNAME  THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
 9021 murray      1 103    0 16116K  8216K CPU1    0   4:48 100.00% python

This morning, NetBSD also hung.  I haven't seen that this evening.

--------

The latest SHM cleanup doesn't seem to work on *BSD.  I get things like this:

(from my extra tests)
Processing test/daemon/tcp-test.log
Processing test/daemon/superstar2.log
Processing test/daemon/tcp-test.log
Processing test/daemon/udp-test.log
gpsd:ERROR: shmget(-1, 8064, 0666) failed: No space left on device
gpsd:ERROR: shared-segment creation failed,
Processing test/daemon/tcp-test.log
gpsd:ERROR: shmget(-1, 8064, 0666) failed: No space left on device
gpsd:ERROR: shared-segment creation failed,
Processing test/daemon/superstar2.log
gpsd:ERROR: shmget(-1, 8064, 0666) failed: No space left on device
gpsd:ERROR: shared-segment creation failed,


bob$ ipcs
IPC status from <running system> as of Mon Feb  9 22:02:05 2015

Message Queues:
T        ID     KEY        MODE       OWNER    GROUP

Shared Memory:
T        ID     KEY        MODE       OWNER    GROUP
m     65536 1314148402 --rw-rw-rw-   murray    users
m     65537 1314148403 --rw-rw-rw-   murray    users
m     65538 1314148404 --rw-rw-rw-   murray    users
m     65539 1314148405 --rw-rw-rw-   murray    users
m     65540 1314148406 --rw-rw-rw-   murray    users
m     65541 1314148407 --rw-rw-rw-   murray    users
m     65542 1196446532 --rw-rw-rw-   murray    users
m     65543          0 --rw-rw-rw-   murray    users
m     65544          0 --rw-rw-rw-   murray    users
m     65545          0 --rw-rw-rw-   murray    users
m     65546          0 --rw-rw-rw-   murray    users
m     65547          0 --rw-rw-rw-   murray    users
[snip lots of them]
m     65661          0 --rw-rw-rw-   murray    users
m     65662          0 --rw-rw-rw-   murray    users
m     65663          0 --rw-rw-rw-   murray    users

Semaphores:
T        ID     KEY        MODE       OWNER    GROUP

bob$ 

I don't know if that is a bug in their SHM implementation or we don't 
understand the rules.



-- 
These are my opinions.  I hate spam.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]