Try the Demo

Magento Forum

   
Varnish bei Magento
 
janosch12
Member
 
Total Posts:  52
Joined:  2011-01-29
Radcliff
 

Hi,
ich habe einen Server mit Centos 6, darauf wurde Varnish bereits installiert,
allerdings habe ich das Problem, das mich Magento nicht mag ;(
Siehe Screenshot.
was mache ich hier falsch ?
hier die Config von Varnish aus dem Ordner /etc/sysconfig

# Configuration file for varnish
#
# /etc/init.d/varnish expects the variable $DAEMON_OPTS to be set from this
# shell script fragment.
#

# Maximum number of open files (for ulimit -n)
NFILES=131072

# Locked shared memory (for ulimit -l)
# Default log size is 82MB + header
MEMLOCK=82000

# Maximum size of corefile (for ulimit -c). Default in Fedora is 0
# DAEMON_COREFILE_LIMIT=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"unlimited\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"

# Set this to 1 to make init script reload try to switch vcl without restart.
# To make this work, you need to set the following variables
# explicit: VARNISH_VCL_CONF, VARNISH_ADMIN_LISTEN_ADDRESS,
# VARNISH_ADMIN_LISTEN_PORT, VARNISH_SECRET_FILE, or in short,
# use Alternative 3, Advanced configuration, below
RELOAD_VCL=1

# This file contains 4 alternatives, please use only one.

## Alternative 1, Minimal configuration, no VCL
#
# Listen on port 6081, administration on localhost:6082, and forward to
# content server on localhost:8080.  Use a fixed-size cache file.
#
#DAEMON_OPTS=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"-a :6081 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
# -T localhost:6082 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
# -b localhost:8080 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
# -u varnish -g varnish \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
# -s file,/var/lib/varnish/varnish_storage.bin,1G\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\”

## Alternative 2, Configuration with VCL
#
# Listen on port 6081, administration on localhost:6082, and forward to
# one content server selected by the vcl file, based on the request.  Use a
# fixed-size cache file.
#
#DAEMON_OPTS=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"-a :6081 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
# -T localhost:6082 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
# -f /etc/varnish/default.vcl \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
# -u varnish -g varnish \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
# -S /etc/varnish/secret \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
# -s file,/var/lib/varnish/varnish_storage.bin,1G\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\”

## Alternative 3, Advanced configuration
#
# See varnishd(1) for more information.
#
# # Main configuration file. You probably want to change it smile
VARNISH_VCL_CONF=/etc/varnish/default.vcl
#
# # Default address and port to bind to
# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify
# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.
# VARNISH_LISTEN_ADDRESS=
VARNISH_LISTEN_PORT=6081
#
# # Telnet admin interface listen address and port
VARNISH_ADMIN_LISTEN_ADDRESS=127.0.0.1
VARNISH_ADMIN_LISTEN_PORT=6082
#
# # Shared secret file for admin interface
VARNISH_SECRET_FILE=/etc/varnish/secret

Image Attachments
varnish.png
 
Magento Community Magento Community
Magento Community
Magento Community
 
cwschneider
Sr. Member
 
Avatar
Total Posts:  88
Joined:  2008-10-20
Koblenz
 

Hi

Vom Screenshot her, der Listen-Port ist 6081 und nicht 80 und die Config-Datei liegt in einem anderen Verzeichnis. Hast du im Threas ja selbst noch genannt…

Viele Grüße,
Christian.

 Signature 

Magento - Beratung und -Programmierung im Raum Koblenz und Umgebung

http://www.cs-cms.de

 
Magento Community Magento Community
Magento Community
Magento Community
 
miguel sommer
Jr. Member
 
Total Posts:  9
Joined:  2010-07-28
 

Hallo zusammen,

ich habe seit Kurzem Varnish im Einsatz. Nun haben wir folgendes Problem:

Wenn man in ein Produkt geht, wird der Pfad der Kategorien nicht mehr angezeigt und unser Programm \"nächstes Produkt\” funktioniert nicht mehr. Wir nutzen Kurz URL´s. Ich habe getestet und festgestellt, dass es mit langen URL´s funktioniert. Beispiel hier:

http://www.mitaso-wintersports.de/level-animal.html

Hat jemand eine Ideel, was ich machen könnte?

Lg Miguel

 
Magento Community Magento Community
Magento Community
Magento Community
 
cwschneider
Sr. Member
 
Avatar
Total Posts:  88
Joined:  2008-10-20
Koblenz
 

Hi

Hast du irgendwo ein Test-System wo man sich das anschauen kann?
So ist es nur ein blindes Raten.

Viele Grüße,
Christian.

 Signature 

Magento - Beratung und -Programmierung im Raum Koblenz und Umgebung

http://www.cs-cms.de

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top