iPrint process consumes a lot of memory, normal?

Hey guys,

the iPrint Advanced installation on our OES 2018SP3 consumes a lot of memory... Is that normal? We are running around 20 printers, on 100 Workstations with 150 users...

This is top sorted with memory consumtion... 

Any ideas where to check?

Thanks in advance

  • Hello Gonzalo,

    thanks for your reply...

    Its sounds to fit perfectly for my problem but unfortunatly, the properties section is already there with the given entries... Any other ideas? 

  • then it could be normal. java is a heavy beast. What do you get with this command:

    ps -eo pmem, pcpu,pid,user,args | sort -k 1 -r | head -15

  • Sure, there you go...

    %MEM %CPU   PID USER     COMMAND
     1.3  0.0  3962 iprintm+ /usr/lib64/jvm/jre-1.8.0-openjdk/bin/java -Xmx512m -XX:MaxMetaspaceSize=512m -classpath /var/opt/novell/iprint-tomcat/bin/bootstrap.jar:/var/opt/novell/iprint-tomcat/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar -Dcatalina.base=/var/opt/novell/iprint-tomcat -Dcatalina.home=/var/opt/novell/iprint-tomcat -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/opt/novell/iprint-tomcat/temp -Djava.util.logging.config.file=/var/opt/novell/iprint-tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager org.apache.catalina.startup.Bootstrap start
     1.2  0.0  1353 iprint   /usr/bin/java -jar /opt/novell/iprintlicense/lib/license-launcher-0.0.1-SNAPSHOT.jar
     1.1  0.0  1978 iprint   /usr/bin/java -Xmx512m -XX:MaxMetaspaceSize=512m -cp /opt/novell/iprintauth/lib/iprint-auth-launcher-*.jar:/opt/novell/iprintauth/lib/* com.microfocus.service.iprint.auth.application.MainApplication
     1.0  1.1  1472 root     //opt/novell/eDirectory/sbin/ndsd
     0.8  0.4  1324 iprintm+ java -server -Xmx1G -XX:MaxMetaspaceSize=1G -Djna.nosys=true -XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Dfile.encoding=UTF8 -Drhino.opt.level=9 -Denvironment.dumpCfgAtStartup=true -Dtx.useLog=false -Djava.util.logging.manager=com.orientechnologies.common.log.ShutdownLogManager -Djava.util.logging.config.file=/usr/share/orientdb/config/orientdb-server-log.properties -Dorientdb.config.file=/usr/share/orientdb/config/orientdb-server-config.xml -Dorientdb.www.path=/usr/share/orientdb/www -Dorientdb.build.number=3.0.x@r355adf5e012545012ea2ef7682bcb95f77b0934e; 2020-03-18 15:14:21+0000 -cp /usr/share/orientdb/lib/orientdb-server-3.0.30.jar:/usr/share/orientdb/lib/*:/usr/share/orientdb/plugins/* com.orientechnologies.orient.server.OServerMain
     0.7  0.3  1474 named    /usr/sbin/named -t /var/lib/named -u named
     0.5  0.0  1651 wwwrun   /usr/lib64/jvm/jre-1.8.0-ibm/bin/java -Djava.library.path=/opt/novell/eDirectory/lib64:/var/opt/novell/tomcat/lib:/usr/lib64:/opt/novell/lib64:/var/opt/novell/iManager/nps/WEB-INF/bin/linux -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=false -Dorg.apache.jasper.compiler.Parser.STRICT_WHITESPACE=false -Dorg.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR=false -Djdk.tls.ephemeralDHKeySize=2048 -classpath /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar -Dcatalina.base=/var/opt/novell/tomcat -Dcatalina.home=/var/opt/novell/tomcat -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/opt/novell/tomcat/temp -Djava.util.logging.config.file=/etc/opt/novell/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager org.apache.catalina.startup.Bootstrap start
     0.4  0.1  8908 squid    (squid-1) --kid squid-1 -FC
     0.3  0.0  1321 root     /opt/paedML/skmobil/jre/bin/java -jar /opt/paedML/skmobil/backend.jar -Dspring.config.additional-location=/opt/paedML/skmobil/config
     0.0  0.3  3904 root     /opt/novell/nss/sbin/jstcpd
     0.0  0.2 23980 root     /opt/novell/iprint/bin/iprintgw
     0.0  0.1  5489 root     /opt/novell/afptcpd/bin/afptcpd
     0.0  0.1  3171 root     /opt/novell/ncl/bin/novfsd
     0.0  0.1  2802 novlxsr+ /opt/novell/xtier/bin/novell-xsrvd -d

  • java being a heavy beast is an understatement.

    ps -eo pmem, pcpu,pid,user,args | sort -k 1 -r | head -15

    thank you for this command,  very useful once we get the extra space out of it after the first comma that sneaked in there.

    ps -eo pmem,pcpu,pid,user,args | sort -k 1 -r | head -15

    ________________________

    Andy of KonecnyConsulting.ca in Toronto
    Please use the "Like" and/or "Verified Answers" as appropriate as that helps us all.

  • So i'll add couple more gigs of ram and watch it?

  • thanks for caching the typo. Htop is also a nice neat utility.

  • i do not see any problem with your server. Not sure why you want to add more memory. 

  • Why are you doing that?  To what end?  Is there a problem you haven't told us about?

    It isn't like your swap is getting consumed much at all, and that is what I usually use as my driver for if more RAM is needed.  A common part of my health check is the 'free -m' command, and as long as swap stays well under half used, I don't worry about memory usage unless something else strongly points to it.  Using lots of a plentiful resource is not a reason to just add more.

    ________________________

    Andy of KonecnyConsulting.ca in Toronto
    Please use the "Like" and/or "Verified Answers" as appropriate as that helps us all.