1834136 Members
2183 Online
110064 Solutions
New Discussion

Re: basicdsd

 
M.sureshkumar
Regular Advisor

basicdsd

In our D class server system is very slow then i checked top command,in top command "basicdsd"
process takes 98.08 % cpu usage.so i disabled
DPS( Distributed Print Service )i.e edit the file /etc/rc.config.d/pd and set the variable
PD_CLIENT equal to 0, then reboot. After rebooting the "basicdsd" process takes the same value i.e 98.08% cpu usage.How to remove this "basicdsd" process in D class server.pls give me some solution.
10 REPLIES 10
Robert-Jan Goossens
Honored Contributor

Re: basicdsd

Hi,

Do you get any errors in the syslog ?

Robert-Jan
M.sureshkumar
Regular Advisor

Re: basicdsd

no error.I attached output syslog.log
Robert-Jan Goossens
Honored Contributor

Re: basicdsd

could you run a "lpstat -t" and see if you can get any errors while dps is running.
melvyn burnard
Honored Contributor

Re: basicdsd

try the following:
1. Stop DPS. # /sbin/init.d/pd stop
2. Check if all DPS processes were killed. # ps -ef | grep -E
'pdclientd|basicdsd|spooler|supervisor' If any of the above processes are still
running, kill the process (if necessary use kill -9).
3. Move the basicdsd database file. # mv /var/opt/pd/basicdsd.db
/tmp/basicdsd.db
4. Restart DPS. DPS will recreate the basicdsd.db file during startup. #
/sbin/init.d/pd start


then check to see if you still have hte problem.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
M.sureshkumar
Regular Advisor

Re: basicdsd

lpstat output
Robert-Jan Goossens
Honored Contributor

Re: basicdsd

Are you shure you are using dps for your printers ?

Check the directory /etc/lp/interface and check if all your printers have a printer_name file.

M.sureshkumar
Regular Advisor

Re: basicdsd

problem was solved.Thanks.
melvyn burnard
Honored Contributor

Re: basicdsd

can you enlighten us as to what solved the problem?
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
M.sureshkumar
Regular Advisor

Re: basicdsd

1. Stop DPS. # /sbin/init.d/pd stop
2. Check if all DPS processes were killed. # ps -ef | grep -E
'pdclientd|basicdsd|spooler|supervisor' If any of the above processes are still
running, kill the process (if necessary use kill -9).
3. Move the basicdsd database file. # mv /var/opt/pd/basicdsd.db
/tmp/basicdsd.db
4. Restart DPS. DPS will recreate the basicdsd.db file during startup. #
/sbin/init.d/pd start

The above steps are executed in our server, then i checked top command ,basicdsd process takes 0.03 % cpu usage.i.e reduced from 98.08% to 0.03%.
Robert-Jan Goossens
Honored Contributor

Re: basicdsd

sureshkumar, You should give Melvyn a bunny (10 points) for his answer.

Regards and happy newyear
(:-)
Robert-Jan