|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
syslog strangeness on freebsd 8.0 and 8.1-RC
Can someone please assist me with some strangeness on FreeBSD 8.0 and 8.1-RC2
using a threaded test code code, I see the that freebsd 8.x seems to be using more memory when using the syslog() call from a c program: Results: 7.2 without syslog() PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 26872 vikashb 1001 8 0 128M 14236K RUN 0:00 0.00% a.out with syslog() PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 26881 vikashb 1001 44 0 128M 26236K RUN 0:00 0.00% a.out 8.0-RELEASE-p3 without syslog() PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 61529 vikashb 1001 44 0 129M 14840K RUN 0:01 0.00% a.out with syslog() PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 61507 vikashb 1001 44 0 257M 42708K RUN 0:30 0.00% a.out 8.1-RC2 without syslog() PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 33062 vikashb 1001 44 0 129M 14804K RUN 0:00 0.00% a.out with syslog() PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 33056 vikashb 1001 44 0 257M 42708K RUN 0:03 0.00% a.out I have not been able to find any reasonable information via google. Why does syslog result in more memory being consumed on 8.x as opposed to 7.2 ? is this a bug ? C code below PHP Code:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Syslog-ng Monitor | plexter | OpenBSD Packages and Ports | 8 | 5th February 2010 09:38 PM |
Cisco Secure ACS 4.1 syslog OpenBSD 3.9 | cyberpaisalegionair | OpenBSD General | 1 | 24th July 2008 06:42 PM |
good old syslog-ng issue | amiga505 | OpenBSD Packages and Ports | 7 | 4th July 2008 06:01 PM |
SYSLOG disappearance | jaymax | FreeBSD General | 6 | 26th June 2008 02:53 AM |