Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  squid can not start

    Posted Fri June 14, 2019 12:34 AM

    Originally posted by: JSS_member


    OS⇒AIX7.2

    squid-4.4.1.ppc

     

    Unable to start with the following error:
    Do you know who?

     

    2019/06/14 12:15:41| Created PID file (/var/run/squid.pid)
    2019/06/14 12:15:41 kid1| FATAL: xcalloc: Unable to allocate 18446744073709551615 blocks of 416 bytes!

    2019/06/14 12:15:41 kid1| Squid Cache (Version 4.4): Terminated abnormally.
    CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
    Maximum Resident Size: 10476 KB
    Page faults with physical i/o: 0
    2019/06/14 12:15:41 kid1| Not currently OK to rewrite swap log.
    2019/06/14 12:15:41 kid1| storeDirWriteCleanLogs: Operation aborted.
    2019/06/14 12:15:41 kid1| FATAL: xcalloc: Unable to allocate 18446744073709551615 blocks of 416 bytes!


    2019/06/14 12:15:41 kid1| Squid Cache (Version 4.4): Terminated abnormally.
    CPU Usage: 0.005 seconds = 0.004 user + 0.002 sys
    Maximum Resident Size: 10476 KB
    Page faults with physical i/o: 0
    2019/06/14 12:15:41 kid1| Not currently OK to rewrite swap log.
    2019/06/14 12:15:41 kid1| storeDirWriteCleanLogs: Operation aborted.
    2019/06/14 12:15:41| Removing PID file (/var/run/squid.pid)


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 2.  Re: squid can not start

    Posted Fri June 14, 2019 05:28 AM

    Originally posted by: AyappanP


    Are you using AIX Toolbox squid rpm ? 

    rpm -qi squid-4.4.1.ppc

     

    From the error it looks like it is related to memory issues. 


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 3.  Re: squid can not start

    Posted Fri June 14, 2019 05:31 AM


  • 4.  Re: squid can not start

    Posted Fri June 14, 2019 05:46 AM
      |   view attached

    Originally posted by: JSS_member


    ・ Make limit unlimited
    ・ Decrease cache settings in squit.conf.

    But I can not start.


    #AIXOpenSource
    #AIX-Open-Source-Software

    Attachment(s)

    txt
    squid_k_parse.txt   3 KB 1 version


  • 5.  Re: squid can not start

    Posted Tue June 25, 2019 09:36 AM

    Originally posted by: ctremel


    tried it with the standard config file delivered with the package...works well

     

    root@aixbuildhostng: /root/bin # squid -N -d 10
    2019/06/25 15:31:54| Created PID file (/var/run/squid.pid)
    2019/06/25 15:31:54| Set Current Directory to /var/cache/squid
    2019/06/25 15:31:54| Starting Squid Cache version 4.4 for powerpc-ibm-aix6.1.9.0...
    2019/06/25 15:31:54| Service Name: squid
    2019/06/25 15:31:54| Process ID 25755660
    2019/06/25 15:31:54| Process Roles: master worker
    2019/06/25 15:31:54| With 2000 file descriptors available
    2019/06/25 15:31:54| Initializing IP Cache...
    2019/06/25 15:31:54| DNS Socket created at [::], FD 3
    2019/06/25 15:31:54| Adding nameserver X.X.X.X from /etc/resolv.conf
    2019/06/25 15:31:54| Adding nameserver X.X.X.X from /etc/resolv.conf
    2019/06/25 15:31:54| Adding domain X.X.X from /etc/resolv.conf
    2019/06/25 15:31:54| Adding domain X.X.X from /etc/resolv.conf
    2019/06/25 15:31:54| Adding domain X.X.X from /etc/resolv.conf
    2019/06/25 15:31:54| Logfile: opening log daemon:/var/logs/access.log
    2019/06/25 15:31:54| Logfile Daemon: opening log /var/logs/access.log
    2019/06/25 15:31:54| Store logging disabled
    2019/06/25 15:31:54| Swap maxSize 0 + 262144 KB, estimated 20164 objects
    2019/06/25 15:31:54| Target number of buckets: 1008
    2019/06/25 15:31:54| Using 8192 Store buckets
    2019/06/25 15:31:54| Max Mem  size: 262144 KB
    2019/06/25 15:31:54| Max Swap size: 0 KB
    2019/06/25 15:31:54| Using Least Load store dir selection
    2019/06/25 15:31:54| Set Current Directory to /var/cache/squid
    2019/06/25 15:31:54| Finished loading MIME types and icons.
    2019/06/25 15:31:54| HTCP Disabled.
    2019/06/25 15:31:54| Adaptation support is off.
    2019/06/25 15:31:54| Accepting HTTP Socket connections at local=[::]:3128 remote=[::] FD 10 flags=9
    2019/06/25 15:31:55| storeLateRelease: released 0 objects

     


    #AIXOpenSource
    #AIX-Open-Source-Software