Fredrik Neij <[EMAIL PROTECTED]> writes:
> [EMAIL PROTECTED]:/tmp# varnishncsa > v.log
> Assert error in trimline(), varnishncsa.c line 160:
> Condition(p != NULL) not true.
> errno = 12 (Cannot allocate memory)
> Aborted
>
> It just keeps growing until it's out of memory.
I've looked long and
[EMAIL PROTECTED] writes:
> sub vcl_fetch {
> if (obj.http.Set-Cookie) {
> insert;
> }
> }
You should strip the Set-Cookie header before inserting the object into
the cache:
sub vcl_fetch {
if (obj.http.Set-Cookie) {
remove obj.http.Set-Cookie;
}
}
(the "insert" i
[EMAIL PROTECTED] writes:
> WARNING: storage file size reduced to 1073741824 due to system limitations
> WARNING: storage file size reduced to 11756049694 (80% of available disk
> space)
> NB: Limiting size to 2GB on 32 bit architecture to prevent running out of
> address space. Specifiy explicit
[EMAIL PROTECTED] wrote:
> I have a couple of questions:
>
>1. Is the above the best way to cache dynamically generated CMS pages?
>
I'm trying to do something similar and it seems to be the recommended
way to cache pages even when cookies are present.
>2. I am running it without vh
I have set up varnish for a Joomla/OpenRealty site with a lot of
dynamic page generation and it seems to be working fine or I have
convinced myself that it is;)
I'm running the same site on another machine for comparison and
checking varnishstat, etc.
I only had to change #varnishd_listen=":
when i run varnish i get this messages:
WARNING: storage file size reduced to 1073741824 due to system limitations
WARNING: storage file size reduced to 11756049694 (80% of available disk space)
NB: Limiting size to 2GB on 32 bit architecture to prevent running out of
address space. Specifiy exp
Kamil Radziszewski <[EMAIL PROTECTED]> writes:
> Is there any possibility to hide in header Varnish version ??
Varnish does not emit any headers containing version information.
If you mean the Via: header, the version number it contains is the
protocol version, not the software version.
DES
--
Is there any possibility to hide in header Varnish version ??
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
Stig Sandbeck Mathisen wrote:
> "Steven Ciaburri" <[EMAIL PROTECTED]> writes:
>
> See the zope-plone.vcl config which is included, and also available at
> http://varnish.projects.linpro.no/svn/trunk/varnish-cache/etc/zope-plone.vcl
Quick question about that config file:
# We only care about th
Hi!
You were right.
ulimit -a reported max 1024 open files for the user.
Connections started to be closed when lsof reported that limit. varnish slave
process also dies when that happens.
setting
/etc/security/limits.conf
* soft nofile 4096
* hard nofile 4096
/etc/pam.d/other
sessionrequire
Janis Putrams <[EMAIL PROTECTED]> writes:
> We put our images behind varnish-1.0.4 serving ~1.5k req/sec and load
> is staying low which is great.
Varnish 1.0.4 has numerous known bugs and shortcomings. You should
seriously consider upgrading to 1.1.
> Though when reaching 2k req/sec we start to
On 7/30/07, Janis Putrams <[EMAIL PROTECTED]> wrote:
> Though when reaching 2k req/sec we start to encounter connection closures.
> Connection gets closed immediately after connection is established.
is there a ulimit from the Operating System? Number of open files/sockets?
(As user running varni
Hi!
As this is my first post to this list I would like to thank to all developers
of this excellent software.
We put our images behind varnish-1.0.4 serving ~1.5k req/sec and load is
staying low which is great.
Though when reaching 2k req/sec we start to encounter connection closures.
Connect
[EMAIL PROTECTED] writes:
> Each worker proces has a child process unless i'm wrong ;)
No. There is one parent process and one child process. The worker
threads are just that - threads.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
_
Each worker proces has a child process unless i'm wrong ;)
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
[EMAIL PROTECTED] writes:
> maybe can i decrease value of workers and increase value of child
> process...
I don't know what you mean by "increase value of child process".
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
_
maybe can i decrease value of workers and increase value of child process ...
is there any chance to do it ?
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
[EMAIL PROTECTED] writes:
> i don't know if it's logic...i just try everythink ... is there any
> possibility to cache object in RAM ?
Varnish caches objects in virtual memory, and leaves it up to the kernel
to decide whether this means RAM or swap.
> If not then can you tell waht should i do rem
i don't know if it's logic...i just try everythink ... is there any possibility
to cache object in RAM ? If not then can you tell waht should i do remove this
error ...
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpr
[EMAIL PROTECTED] writes:
> ulimit -n 5 :)
Where is the logic in this? You run out of address space, and respond
by increasing the number of file descriptors?
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varni
"Steven Ciaburri" <[EMAIL PROTECTED]> writes:
> I need a little help building a configuration file that will cache a
> site with a simple cookie enabled.
See the zope-plone.vcl config which is included, and also available at
http://varnish.projects.linpro.no/svn/trunk/varnish-cache/etc/zope-plone
ulimit -n 5 :)
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
"ADOFMS Admin, SteveOC" <[EMAIL PROTECTED]> writes:
> Correct me if Im wrong - but is it possible to address more than 4GB of
> RAM with a 32bit linux kernel ?
Provided your kernel was built with PAE support, yes, but the process
address space is still limited to 3 GB.
DES
--
Dag-Erling Smørgrav
[EMAIL PROTECTED] wrote:
> i686 GNU/Linuxi have also set the ulimit value as 50...and worker
> proces 2048 but still the same error
> ___
> varnish-misc mailing list
> varnish-misc@projects.linpro.no
> http://projects.linpro.no/mailman/listinfo/
[EMAIL PROTECTED] writes:
> i686 GNU/Linux
The i386 has a 4 GB address space, 1 GB of which is normally reserved
for the kernel, leaving 3 GB for applications (or even less depending on
the data segment size limit, 'ulimit -d'). A big chunk of that goes to
the program text (including librarie
i686 GNU/Linuxi have also set the ulimit value as 50...and worker
proces 2048 but still the same error
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
[EMAIL PROTECTED] writes:
> This message i receive when my varnish run. I have 6 GB of RAM but
> when i run varnish 5 GB are free ... the 1 GB is for somethink another
> ...not for varnishso what can i do to tell varnish using RAM ??
You are most likely running out of address space. What plat
This message i receive when my varnish run. I have 6 GB of RAM but when i run
varnish 5 GB are free ... the 1 GB is for somethink another ...not for
varnishso what can i do to tell varnish using RAM ??
___
varnish-misc mailing list
varnish-misc@proj
I need a little help building a configuration file that will cache a site
with a simple cookie enabled. Thank you.
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
29 matches
Mail list logo