AIX Open Source

Anyone got Squid server working in AIX?

  • 1.  Anyone got Squid server working in AIX?

    Posted Wed August 25, 2021 01:46 AM
    I'm trying to get a Squid proxy set up on my NIM servers to allow it to do a lot more;  NIM is currently my yum repo too, it makes sense to me to forward a lot of traffic through these hosts.

    Currently the only need for Squid is to mirror .pypi.org, and likely .ibm.com to allow for downloads as needed.

    However, I cannot get it to start.

    In squid_cache.log I'm getting errors like the following.  I've set ulimits to unlimited across the board, and that very large number (18446744073709551615) honestly looks like a cpp allocation of (-1), but, I may be mistaken

    Any ideas on where to start looking?  Cheers.

    2021/08/25 00:11:07.024| FATAL: xcalloc: Unable to allocate 18446744073709551615 blocks of 416 bytes!
    
    2021/08/25 00:11:07.024| Squid Cache (Version 4.14): Terminated abnormally.
    CPU Usage: 0.056 seconds = 0.053 user + 0.003 sys
    Maximum Resident Size: 18512 KB
    Page faults with physical i/o: 0
    2021/08/25 00:11:07.024| Not currently OK to rewrite swap log.
    2021/08/25 00:11:07.024| storeDirWriteCleanLogs: Operation aborted.
    2021/08/25 00:11:10.142| 1,2| main.cc(1619) SquidMain: Doing post-config initialization
    2021/08/25 00:11:10.142| 1,2| main.cc(1621) SquidMain: running RegisteredRunner::finalizeConfig
    2021/08/25 00:11:10.142| Created PID file (/var/run/squid.pid)
    2021/08/25 00:11:10.148| 1,2| main.cc(1453) StartUsingConfig: running RegisteredRunner::claimMemoryNeeds
    2021/08/25 00:11:10.148| 1,2| main.cc(1454) StartUsingConfig: running RegisteredRunner::useConfig
    2021/08/25 00:11:10.382 kid1| 1,2| main.cc(1619) SquidMain: Doing post-config initialization
    2021/08/25 00:11:10.382 kid1| 1,2| main.cc(1621) SquidMain: running RegisteredRunner::finalizeConfig
    2021/08/25 00:11:10.382 kid1| 1,2| main.cc(1453) StartUsingConfig: running RegisteredRunner::claimMemoryNeeds
    2021/08/25 00:11:10.382 kid1| 1,2| main.cc(1454) StartUsingConfig: running RegisteredRunner::useConfig
    2021/08/25 00:11:10.382 kid1| FATAL: xcalloc: Unable to allocate 18446744073709551615 blocks of 416 bytes!
    
    2021/08/25 00:11:10.382 kid1| Squid Cache (Version 4.14): Terminated abnormally.
    ​


    ------------------------------
    David Little
    ------------------------------