[squid-users] Is Squid can shutdown unused idle redirector's children?
Yuri Voinov
yvoinov at gmail.com
Mon Feb 16 18:38:05 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
We are talking not about the differences between any *NIX-based or
*NIX-like OS. Android just an example. I guess an observerd behaviour
of redirector's processes is not expected.
Now I've observed mentioned behaviour of redirectors over one month. I
just want to know - is this desired behaviour or this is a bug.
If this is bug - need to report it as bug.
If this need, I'm ready to grant access to bare-metal installed
Solaris system with Squid and squidGuard to tests for developers.
If your one of them - you are welcome.
17.02.15 0:22, Eliezer Croitoru пишет:
> Hey Yuri,
>
> I looked eventually at Solaris 11 man pages at:
> http://docs.oracle.com/cd/E26502_01/html/E29030/ps-1.html#scrolltoc
>
> Just to be sure the next command would run: "ps -e"
>
> There is no subject to the discussion yet since the issue is yet to
> be defined as an issue.
>
> You mentioned Android autoclose but you must first be clear from a
> doubt! Android is indeed Linux kernel based and provides some APIs
> for gui and other components of the system but it is much different
> by nature. If you would take a simple PC from 10 years ago indeed
> an Android device beats it's specs and will have much more ram and
> CPU speed\power. Android however with all it's API would not allow
> just any process handle "iptables" rules out of the box in any
> form. Is there a reason for that? maybe yes and maybe not but I
> mostly don't care about it since it's not being used mostly for
> servers grade operations.
>
> I would definitely not want to call you stupid but sometimes even
> I cannot catch\understand\hold others way of thinking.
>
> It's indeed not hard to execute pkill -9 "XYZ" but from my
> experience any similar operation should not be considered as a
> production action. In a case of bug that is being fixed\tested or a
> software that is out of maintenance it might be the only solution
> but yet is not recommended.
>
> Notice that any action you would do regarding this squidGuard
> helpers will cost something like any other server simple
> operation.
>
> Squid basically tries to take in account that to every operation
> there is cost and the admin will prefer to run the server for more
> then a period of 24\48 hours. I understand that there is memory
> that is being used by squidGuard and I would not expect it to not
> consume any memory at all.
>
> The next step are not common CS use practice: - The first step
> before rushing to terminate squidGuard would be to check what is
> the DB files size which squidGuard uses. - Then I would try to
> estimate what RAM usage I would expect for this logic and for the
> DB files. - At this point some would try to sacrifice some aspects
> of performance compared to others due to what so ever reason. -
> Others might try other directions.(I will take this "other" one.)
> -- Consider what is more important between couple things: * System
> ram or CPU utilization * System stability * System disk access
> reduction * System network utilization * System ching ching (ie $$
> or other concurrency) costs -- Based on choosing one or more from
> the options above and\or others that the human mind can take in
> account, list them and make sure what the current issue in hands
> hits and maybe by that costs or might cost money or sleep or fuel
> or happiness or other important things that are considered to be a
> loss and or a benefit. From this point on the solution in most of
> the time is simpler then some might imagine.
>
> Now I think is the right place to stop the actual lookup for one
> solution or other and simply understand the technical issue you see
> and understand it.
>
> All The Bests, Eliezer
>
> * Waiting for the ps output.
>
> On 16/02/2015 18:55, Yuri Voinov wrote:
>> root @ cthulhu / # ps -aux ps: unknown user x
>>
>> Really, I don't understand subject of discussion.
>>
>> I think, will good to have possibility to autoclose idle Squid
>> redirectors after time specified. Regardless of the operating
>> system. Like autoclose applications on Android.
>>
>> I want stupid thing?
>>
>> I'm not hard to execute through the cron pkill -9 squidGuard
>> command every hour. But it is a crutch. Did you agree?
>
>
> _______________________________________________ squid-users mailing
> list squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBAgAGBQJU4jkNAAoJENNXIZxhPexGD68H/0qJA1sZQ2Pv6v+6kSSNw1Az
h6cRXpV6u/pUQF+oJf7xV0l/iqBtxGsyhYX6HTz48xinm27COzC6cwiuTVlgRVxA
W3jDJaQmTjzTKHogOZ1sRviww0pu2LQWzUIPkDA7k7cfpTDaVVUpLd4dCgg5YqGK
ZRCQZtNWqvfpMtZ3i/UInRLgxl1BI8TFQk73PhUL0XzyHnn7StYdM4HIuG+LJBTS
i24Chot+d00C8yKz62ZOaBw2z1j0dOC4xAMShMY7YHlJgV6cX0Uvqm86EBOJbvpm
rhsiNMAjFyCAuXTx04WX6yHxzVfIx23bEvBN46S+s8OBWEW3h1hfjigYkPVtR1E=
=+kqp
-----END PGP SIGNATURE-----
More information about the squid-users
mailing list