Re: [squid-users] some pages not load

2009-04-04 Thread Tech W.

try check the cache ability for this site:

http://www.ircache.net/cgi-bin/cacheability.py


--- On Sun, 5/4/09, Luis Casalini  wrote:

> From: Luis Casalini 
> Subject: [squid-users] some pages not load
> To: squid-users@squid-cache.org
> Received: Sunday, 5 April, 2009, 6:12 AM
> Hello
> We have problems for example with this url
> 
> http://www.fullaventura.com/
> 
> Can any help please
> 
> Thankyou
> 
> 


  Yahoo!7 recommends that you update your browser to the new Internet 
Explorer 8.Get it now.


Re: [squid-users] Error File size limit exceeded

2009-04-04 Thread Tech W.



--- On Sun, 5/4/09, Wong  wrote:

> From: Wong 
> Subject: [squid-users] Error File size limit exceeded
> To: "Squid-users" 
> Received: Sunday, 5 April, 2009, 11:47 AM
> Dear All,
> 
> I found error message below and squid unable to run.
> 
> --snip--
> 
> [r...@squid root]# squid -NCDd1
> File size limit exceeded
> 


maybe logfile is too large.
are you running a 32bit squid?


  Enjoy a safer web experience. Upgrade to the new Internet Explorer 8 
optimised for Yahoo!7. Get it now.


[squid-users] Error File size limit exceeded

2009-04-04 Thread Wong

Dear All,

I found error message below and squid unable to run.

--snip--

[r...@squid root]# squid -NCDd1
File size limit exceeded

--snip--

Would you tell me what cause such problem?

Thx & Rgds,

Wong





[squid-users] Not Anonymous ?

2009-04-04 Thread Julien P.
Hi there,
I wasn't able to find any information on a non anoymous proxy server...

I'm running one squid server for many people located in different
places/countries and I'm running into several issues.
For example: Their language is not well recognized on some websites
because of their hidden Ip address, and some minor stuff based on the
IP address...

So that's why I would like to know if there is a way to setup squid as
a proxy, but not an anonymous one ...

Thank you all for your answer.

Julien


[squid-users] "concurrency" attribute external_acl_type

2009-04-04 Thread louis gonzales
List,
1) for the "concurrency" attribute does this simply indicate how many
items in a batch will be sent to the external helper?

1.1) assuming concurrency is set to "6" for example, and let's assume
a user's browser session sends out "7" actual URL's through the proxy
request - does this mean "6" will go to the first instance of the
external helper, and the "7th" will go to a second instance of the
helper?

1.1.1) Assuming the 6 from the first part of the batch return "OK" and
the 7th returns "ERR", will the user's browser session, render the 6
and not render the 7th?  More importantly, how does Squid know that
the two batches - one of 6, and one with 1, for the 7 total, know that
all 7 came from the same browser session?

What I have currently:
- openldap with postgresql, used for my "user database", which permits
me to use the "auth_param squid_ldap_auth" module to authenticate my
users with.
- a postgresql database storing my acl's for the given user database

Process:
Step1: user authenticates through squid_ldap_auth
Step2: the user requested URL(and obviously all images, content, ...)
get passed to the external helper
Step3: external helper checks those URL's against the database for the
specific user and then determines "OK" or "ERR"

Issue1:
How to have the user requested URL(and all images, content, ...) get
passed as a batch/bundle, to a single external helper instance, so I
can collectively determine "OK" or "ERR"

Any ideas?  Is the "concurrency" attribute to declare a maximum number
of "requests" that go to a single external helper instance?  So if I
set concurrency to 15, should I have the external helper read count++
while STDIN lines come in, until no more, then I know I have X number
in a batch/bundle?

Obviously there is no way to predetermine how many URL's/URI's will
need to be checked against the database, so if I set concurrency to
1024, "presuming to be high enough" that no single request will max it
out, then I can just count++ and when the external helper is done
counting STDIN readlines, I can process to determine "OK" or "ERR" for
that specific request?

Issue2:
I'd like to just have a single external helper instance start up, that
can fork() and deal with each URL/URI request, however, I'm not sure
Squid in its current incarnation passes enough information OR doesn't
permit specific enough passback (from the helper) information, to make
this happen.

Any deeper insights, would be tremendously appreciated.

Thanks,

-- 
Louis Gonzales
BSCS EMU 2003
HP Certified Professional
louis.gonza...@linuxlouis.net


[squid-users] some pages not load

2009-04-04 Thread Luis Casalini
Hello
We have problems for example with this url

http://www.fullaventura.com/

Can any help please

Thankyou



[squid-users] Memory-only Squid questions

2009-04-04 Thread David Tosoff

Hi all, I've got a 64-bit Reverse-proxy squid running on Ubuntu as of yesterday 
(3.0Stable13). I've got it configured how I want it as far as I can tell.

I've compiled the cache_dir null type in, and configured it as "cache_dir null 
/tmp", as I do not want to cache to disk on this machine at all.
I want all the data to be cached in memory, but all I'm seeing in my access.log 
is TCP_IMS_HIT & TCP_MISS. No TCP_MEM_HIT for anything. Now, I know TCP_IMS_HIT 
is ambiguous and can indicate IMS_HIT from memory or disk, but in this case 
where I am "cache_dir null /tmp", are these IMS_HIT coming from memory, or am I 
misunderstanding the 'null' type?
Also, the items that are recieving TCP_MISS are items that should be in MEM_HIT 
all the time, as they are loaded with EVERY page load (static menu, page 
structure images, etc). This concerns me, as in a ufs or aufs cache_dir, these 
items hit from memory
Also, in store.log, I'm only seeing RELEASE & SO_FAIL.

I do see memory usage increasing when watching "top", which is good. I'm just 
curious if these indicators in the logs are something to be concerned about in 
this type of config.

NOTEABLE CONFIG OPTIONS:
cache_mem 28672 MB
maximum_object_size_in_memory 150 KB   -- My objects are between 2KB - 20KB 
(so, 150 is a limit that likely should never be reached)
memory_replacement_policy heap GDSF
cache_dir null /tmp


Is this the best way to go about a memory only cache? I've seen a few posts re: 
using RAM disks for cache_dir instead...

Thanks All,

David


  __
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot 
with the All-new Yahoo! Mail.  Click on Options in Mail and switch to New Mail 
today or register for free at http://mail.yahoo.ca


Re: [squid-users] advice

2009-04-04 Thread Jakob Curdes





so not to add more to my email, I'm seeking advice about the proper 
way to learn about squid from A to Z if possible...
Use it. squid is not that hard to setup if you do not have requirements 
like authentication or reverse-proxying. your case sounds quite simple; 
so what does not work? BTW: the linux high availability thing is a quite 
complex piece of software. If I were you, I would not experiment with 
squid AND HA at the same time.


j.curdes


Re: [squid-users] Squid : better on Debian or Ubunto server ?

2009-04-04 Thread Yan Seiner

Riccardo Castellani wrote:

so difference, as Yan said, essentially is GUI ?

And about other Linux distribution ? Or Debian is nore suitable to 
ttat job ?

Now I'm using Fedora 1 !
I use Debian for servers because it is stable.  Yes, not all the 
packages are the latest.  But it works, and works quite well.


Fedora is a beta-distro; it's intended to be RedHat's bleeding edge 
testing ground.  IMHO, not suitable for servers.  Use RedHat if you want 
a stable distro version.


--Yan




- Original Message - From: "Yan Seiner" 
To: "Riccardo Castellani" 
Sent: Friday, April 03, 2009 11:44 PM
Subject: Re: [squid-users] Squid : better on Debian or Ubunto server ?




On Fri, April 3, 2009 2:05 pm, Riccardo Castellani wrote:

I don't understand.


For text UI, debian and ubuntu are virtually the same.

I'd go with debian as most of the really nice stuff in ubuntu is around
the GUI.

--Yan


- Original Message -
From: "Amos Jeffries" 
To: "Riccardo Castellani" 
Cc: 
Sent: Friday, April 03, 2009 10:59 PM
Subject: Re: [squid-users] Squid : better on Debian or Ubunto server ?



Riccardo Castellani wrote:
I have to install new Linux server, based on ONLY on text console 
(not

X server, not kde, not gnome) to having squid as parent cache.
Then I have to configure sendmail which relays messages to 3 
perimetral

mail servers.

I'm thinking to install Debian or Ubuntu server but what do you
suggest me ?


Up to you. Ubuntu is a child OS built on top of Debian.
From the console they are almost identical.

I find the delay in package updates annoying in Ubuntu, particularly
since they cop it from their own release freezes, and from the Debian
freezes once a year. But I'm an unashamed neophyte.

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
  Current Beta Squid 3.1.0.6








--
Yan Seiner, PE

Support my bid for the 4J School Board
http://www.seiner.com




!DSPAM:49d70036308067818312239!




--
Yan Seiner 


Support my bid for the 4J School Board.
Visit http://www.seiner.com/schoolboard




[squid-users] advice

2009-04-04 Thread Roland Roland

Hi all,

a few weeks ago I got the task of setting up squid for my company.
I had a network of 94 employee to set this up for ...
I never heard of squid before to b honest, so after researching a bit..
I decided to setup Squid on centos server with wccp /cisco router 2811
though that didn't work out as my cisco ios had a bug tht prevented using 
wccp with it..
so I went at setting up two squid servers as our network's gateway with 
heartbeart failover solution.. with cisco 2811 in the background facing the 
internet.
though that caused a prob for employees connecting through cisco vpn client, 
as they had to change their browser settings manually each time.
I admit I went at this the wrong way.. as I mentioned I never heard of squid 
before so instead of reading about it I plunged straight into it..
so now It's time to learn about squid the right way as I had lots of help 
setting it up from this mailing list..


so not to add more to my email, I'm seeking advice about the proper way to 
learn about squid from A to Z if possible...


any advice would be appreciated

thanks in advance,

Roland 



Re: [squid-users] Squid : better on Debian or Ubunto server ?

2009-04-04 Thread Rob van der Putten

Hi there


On Sat, 4 Apr 2009, Amos Jeffries wrote:

The big difference between Debian and Ubuntu is the X server/kde/gnome GUI 
interface. Once you eliminate that you may as well flip a coin to choose.


You can choose the desktop / window manager.
Ubuntu  Gnome
Kubuntu KDE
Xubuntu Xfce

AFAIK Ubuntu is a mix of Debian Testing, Unstable and Experimental with a 
few added non Debian packages.
On Debian you can do something similar by installing testing during 
freeze and then create a few backports from unstable and experimental.


Debian Stable / Lenny provides Squid 2.7 and 3.0 (section web).
If you want 3.1 you have to compile it yourself;
Install gcc and libldap2-dev, libpam0g-dev, libdb-dev, sharutils, dpatch 
(>= 2.0.9), cdbs, libsasl2-dev, debhelper (>=5), libcppunit-dev.
And download the source of course; 
http://www.squid-cache.org/Versions/v3/3.1/


The file 
http://ftp.de.debian.org/debian/pool/main/s/squid3/squid3_3.0.STABLE8.orig.tar.gz 
lists the differences between the Debian and the original version of Squid 
3.0. It's mainly added copyright notices and a change in the install 
procedure. I didn't apply the patch (which is for 3.0), but used configure 
options instead. I could' get all the configure options to work though.
Nor did I succeed in telling it not to install libexec in 
/usr/local/squid/libexec/

It also links libdl instead of librt. I don't know why.
It does work though.


Regards,
Rob