[squid-users] How to enable health check or get 200 return ?

2022-04-26 Thread rahul gupta
Hi Team,

I am new to the Squid community, can someone please help/guide me?

Need to know, How to enable health check or get 200 return from squid? it
returns 400, when associating a target in AWS NLB, it only accepts from
200-399 and also not allowed to override?

Any help would be appreciated. thanks.

Regards
Rahul
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


[squid-users] Squid container stopped with exit 1 recursively

2022-09-03 Thread rahul gupta
Hi Team,
I’m running squid in container and running in aws ECS.

It’s working fine but in every few hours container got stopped with exit 1.
I see cpu and memory usage for container are not too high.

Any pointers .? What May be the potential cause.?or the start point for
troubleshooting.?

Regards
Rahul

-- 
Sent from iPhone
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Squid container stopped with exit 1 recursively

2022-09-03 Thread rahul gupta
Thanks Francesco for offering help, in error logs its 104 and message is
“terminated abnormally”.

Squid version is 5.0.4.

Regards
Rahul



On Sat, 3 Sep 2022 at 7:40 PM, Francesco Chemolli  wrote:

> Hi,
>   Anything in the logs?
> What version of squid are you using?
>
> On Sat, 3 Sep 2022 at 11:41, rahul gupta  wrote:
>
>> Hi Team,
>> I’m running squid in container and running in aws ECS.
>>
>> It’s working fine but in every few hours container got stopped with exit
>> 1. I see cpu and memory usage for container are not too high.
>>
>> Any pointers .? What May be the potential cause.?or the start point for
>> troubleshooting.?
>>
>> Regards
>> Rahul
>>
>> --
>> Sent from iPhone
>>
> ___
>> squid-users mailing list
>> squid-users@lists.squid-cache.org
>> http://lists.squid-cache.org/listinfo/squid-users
>
>
>> --
> @mobile
>
-- 
Sent from iPhone
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] squid-users Digest, Vol 97, Issue 2

2022-09-04 Thread rahul gupta
Hi  Eliezer,
As it's in ECS-serverless, hence can't log in into the VM to debug more.

Currently debug level set is:
debug_options: ALL,9
which says terminated abnormally.

Current cpu usage is 2 CPU, memory 4 GB.

i see at startup it shows

Target number of buckets:1008
Using 8192 Stroe buckets
Max Mem size: 262144 KB
Max Swap size: 0 KB

any inputs?

thanks.
Rahul


On Sun, Sep 4, 2022 at 8:27 PM 
wrote:

> Send squid-users mailing list submissions to
> squid-users@lists.squid-cache.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.squid-cache.org/listinfo/squid-users
> or, via email, send a message with subject or body 'help' to
> squid-users-requ...@lists.squid-cache.org
>
> You can reach the person managing the list at
> squid-users-ow...@lists.squid-cache.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of squid-users digest..."
>
>
> Today's Topics:
>
>1. Re: Squid container stopped with exit 1 recursively
>   (ngtech1...@gmail.com)
>
>
> --
>
> Message: 1
> Date: Sun, 4 Sep 2022 15:27:45 +0300
> From: 
> To: 
> Subject: Re: [squid-users] Squid container stopped with exit 1
> recursively
> Message-ID: <002401d8c059$bd518bd0$37f4a370$@gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hey Rahul,
>
> You should use the latest squid stable version 5.6.
> Depends on the container you are running but you might be able to use the
> latest RPMs of:
> CentOS, Oracle, Fedora, Alma, Rocky, AMZN
>
> >From my repository at:
> https://www.ngtech.co.il/repo/
>
> To know the error with squid you will need more then ?terminated
> abnormally?
> You will need access to the cache.log and as much details as possible.
>
> Eliezer
>
> 
> Eliezer Croitoru
> NgTech, Tech Support
> Mobile: +972-5-28704261
> Email: ngtech1...@gmail.com <mailto:ngtech1...@gmail.com>
> Web: https://ngtech.co.il/
> My-Tube: https://tube.ngtech.co.il/
>
> From: squid-users  On Behalf
> Of rahul gupta
> Sent: Saturday, 3 September 2022 14:43
> To: Francesco Chemolli 
> Cc: squid-users@lists.squid-cache.org
> Subject: Re: [squid-users] Squid container stopped with exit 1 recursively
>
> Thanks Francesco for offering help, in error logs its 104 and message is
> ?terminated abnormally?.
>
> Squid version is 5.0.4.
>
> Regards
> Rahul
>
>
>
> On Sat, 3 Sep 2022 at 7:40 PM, Francesco Chemolli  <mailto:gkin...@gmail.com> > wrote:
> Hi,
>   Anything in the logs?
> What version of squid are you using?
>
> On Sat, 3 Sep 2022 at 11:41, rahul gupta  mca2rahul...@gmail.com> > wrote:
> Hi Team,
> I?m running squid in container and running in aws ECS.
>
> It?s working fine but in every few hours container got stopped with exit
> 1. I see cpu and memory usage for container are not too high.
>
> Any pointers .? What May be the potential cause.?or the start point for
> troubleshooting.?
>
> Regards
> Rahul
>
> --
> Sent from iPhone
> ___
> squid-users mailing list
> squid-users@lists.squid-cache.org  squid-users@lists.squid-cache.org>
> http://lists.squid-cache.org/listinfo/squid-users
>
> --
> @mobile
> --
> Sent from iPhone
> -- next part --
> An HTML attachment was scrubbed...
> URL: <
> http://lists.squid-cache.org/pipermail/squid-users/attachments/20220904/4b0260be/attachment.htm
> >
>
> --
>
> Subject: Digest Footer
>
> ___
> squid-users mailing list
> squid-users@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>
>
> --
>
> End of squid-users Digest, Vol 97, Issue 2
> **
>
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] squid-users Digest, Vol 97, Issue 4

2022-09-05 Thread rahul gupta
Hi ,

I have debug options set to 9, assuming it’s increasing cache.log so fast.
That might be crashing the container.

I’ve set debug level 0 and found from last 13 hours container is running.
Earlier it got restarted in every 4 hours.

Monitoring for week, should be ok.

Thanks everyone for pointers. Cheers.


Regards
Rahul

On Mon, 5 Sep 2022 at 5:23 PM, 
wrote:

> Send squid-users mailing list submissions to
> squid-users@lists.squid-cache.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.squid-cache.org/listinfo/squid-users
> or, via email, send a message with subject or body 'help' to
> squid-users-requ...@lists.squid-cache.org
>
> You can reach the person managing the list at
> squid-users-ow...@lists.squid-cache.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of squid-users digest..."
>
>
> Today's Topics:
>
>1. Re: squid-users Digest, Vol 97, Issue 2 (ngtech1...@gmail.com)
>
>
> --
>
> Message: 1
> Date: Mon, 5 Sep 2022 12:22:54 +0300
> From: 
> To: 
> Subject: Re: [squid-users] squid-users Digest, Vol 97, Issue 2
> Message-ID: <000a01d8c109$156a15d0$403e4170$@gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> I have a container specification at:
> https://github.com/elico/squid-container
>
> if it?s helping you and others.
> It?s a simple forward proxy with RAM cache only.
> If you want to use CentOS stream 8 you can modify the Dockerfile a bit and
> it should work in a similar way.
>
> Eliezer
>
> 
> Eliezer Croitoru
> NgTech, Tech Support
> Mobile: +972-5-28704261
> Email: ngtech1...@gmail.com <mailto:ngtech1...@gmail.com>
> Web: https://ngtech.co.il/
> My-Tube: https://tube.ngtech.co.il/
>
> From: squid-users  On Behalf
> Of rahul gupta
> Sent: Monday, 5 September 2022 8:55
> To: squid-users@lists.squid-cache.org
> Subject: Re: [squid-users] squid-users Digest, Vol 97, Issue 2
>
> Hi  Eliezer,
> As it's in ECS-serverless, hence can't log in into the VM to debug more.
>
> Currently debug level set is:
> debug_options: ALL,9
> which says terminated abnormally.
>
> Current cpu usage is 2 CPU, memory 4 GB.
>
> i see at startup it shows
>
> Target number of buckets:1008
> Using 8192 Stroe buckets
> Max Mem size: 262144 KB
> Max Swap size: 0 KB
>
> any inputs?
>
> thanks.
> Rahul
>
>
> On Sun, Sep 4, 2022 at 8:27 PM  <mailto:squid-users-requ...@lists.squid-cache.org> > wrote:
> Send squid-users mailing list submissions to
> squid-users@lists.squid-cache.org  squid-users@lists.squid-cache.org>
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.squid-cache.org/listinfo/squid-users
> or, via email, send a message with subject or body 'help' to
> squid-users-requ...@lists.squid-cache.org  squid-users-requ...@lists.squid-cache.org>
>
> You can reach the person managing the list at
> squid-users-ow...@lists.squid-cache.org  squid-users-ow...@lists.squid-cache.org>
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of squid-users digest..."
>
>
> Today's Topics:
>
>1. Re: Squid container stopped with exit 1 recursively
>   (ngtech1...@gmail.com <mailto:ngtech1...@gmail.com> )
>
>
> --
>
> Message: 1
> Date: Sun, 4 Sep 2022 15:27:45 +0300
> From: mailto:ngtech1...@gmail.com> >
> To:  squid-users@lists.squid-cache.org> >
> Subject: Re: [squid-users] Squid container stopped with exit 1
> recursively
> Message-ID: <002401d8c059$bd518bd0$37f4a370$@gmail.com <http://gmail.com>
> >
> Content-Type: text/plain; charset="utf-8"
>
> Hey Rahul,
>
> You should use the latest squid stable version 5.6.
> Depends on the container you are running but you might be able to use the
> latest RPMs of:
> CentOS, Oracle, Fedora, Alma, Rocky, AMZN
>
> >From my repository at:
> https://www.ngtech.co.il/repo/
>
> To know the error with squid you will need more then ?terminated
> abnormally?
> You will need access to the cache.log and as much details as possible.
>
> Eliezer
>
> 
> Eliezer Croitoru
> NgTech, Tech Support
> Mobile: +972-5-28704261
> Email: ngtech1...@gmail.com <mailto:ngtech1...@gmail.com>   ngtech1...@gmail.com <mailto:ngtech1...@gmail.com> >
> Web: https://ngtech.co.il/
> My-Tube: https://tu