Forum OpenACS Q&A: Response to Any linux kernel tuning instructions

Collapse
Posted by Li-fan Chen on

The System V option was set to YES during the last compile and registered via lilo. So that's fine. So I just went ahead and implemented the rest of the OpenACS instructions and did a reboot. I guess that maybe some of the earlier PostgreSQL? or NSD crashes (with the incomplete nsd.tcl modifications and lack of relevant Pg accounts and data models and all) caused the Shmem errors. There were no such complaints with the new boot. Both unpatched (8192) and patched (16384) versions of Pg seems to work fine.

This is now appended to the /etc/rc.d/rc.local:

nohup su -c '/usr/local/pgsql/bin/postmaster -B 1000 -o "-S 2000" -D /usr/local/pgsql/data > /usr/local/pgsql/data/server.log 2>&1' postgres &

I got the main form on lynx localhost and see a set of nsd and postgres daemon in ps aux. Just one question, are the NSD threads suppose to show up on PS? I always thought PS only show processes, not sure.

nsadmin    476  0.1  1.7  9928 9024 ?        S    14:21   0:02 /home/aolserver/b
nsadmin    484  0.0  1.7  9928 9024 ?        S    14:21   0:00 /home/aolserver/b
nsadmin    485  0.0  1.7  9928 9024 ?        S    14:21   0:00 /home/aolserver/b
postgres   486  0.0  0.1  1644  748 ?        SN   14:21   0:00 bash -c /usr/loca
postgres   487  0.0  0.2 20208 1220 ?        SN   14:21   0:00 /usr/local/pgsql/
nsadmin    488  0.0  1.7  9928 9024 ?        S    14:21   0:00 /home/aolserver/b
nsadmin    490  0.0  1.7  9928 9024 ?        S    14:21   0:00 /home/aolserver/b