Topics: HP Output Server

LPG daemon stops frequently

The LPG daemon at default is able to process 11 jobs at a time. Under heavy load, the LPG daemon might stop because of this limitation. To avoid this, you can use the -R option for the LPR Gateway, so that it will allow an unlimited number of jobs coming in.

This is how to add the -R option:

  • Login as user root.
  • Stop your line printer gateway:
    # stop_server lpg
  • Goto your HPOS installation directory. Then switch to the etc subdirectory.
  • Backup your current HostConfig.sgml file (just in case!):
    # cp HostConfig.sgml HostConfig.sgml.original
  • Edit the HostConfig.sgml file, and add the -R option under the -server-executable-options under your DAZEL-SERVER NAME="lpg", just like this:
    <DAZEL-AVPAIR NAME="server-executable-options">
    <DAZEL-VALUE STRING-VALUE="-n !{server-name}!">
    <DAZEL-VALUE STRING-VALUE="-l !{server-login-name}!">
  • Now start your line printer gateway again:
    # start_server lpg
  • Check your LPG server to see if the -R option is enabled:
    # list_server lpg

    If you found this useful, here's more on the same topic(s) in our blog:

    UNIX Health Check delivers software to scan Linux and AIX systems for potential issues. Run our software on your system, and receive a report in just a few minutes. UNIX Health Check is an automated check list. It will report on perfomance, capacity, stability and security issues. It will alert on configurations that can be improved per best practices, or items that should be improved per audit guidelines. A report will be generated in the format you wish, and the report includes the issues discovered and information on how to solve the issues as well.

    Interested in learning more?