Jump to content
php.lv forumi

Xcache aiz*irš resursus


Recommended Posts

Tātad nolēmu uzlikt lighttpd+fastcgi+mysql uzlikt xcachu, domāts darīts- vienīgi tagad gan cpu gan memory pamatīgi aizdirstāki abi- performances uzlabojumi- minimāli, ja ne pat degradācija.

 

 

Xcache konfigurēta sekojoši-

XCache Support	enabled
Version 	1.2.1
Modules Built 	cacher
Readonly Protection 	N/A
Opcode Cache 	enabled, 33,554,432 bytes, 2 split(s), with 8192 slots each
Variable Cache 	disabled
Shared Memory Schemes 	malloc, mmap

Directive	Local Value	Master Value
xcache.admin.enable_auth	On	On
xcache.cacher	On	On
xcache.coredump_directory	no value	no value
xcache.count	2	2
xcache.gc_interval	300	300
xcache.mmap_path	/dev/zero	/dev/zero
xcache.readonly_protection	no value	no value
xcache.shm_scheme	mmap	mmap
xcache.size	32M	32M
xcache.slots	8K	8K
xcache.stat	On	On
xcache.test	0	0
xcache.ttl	3600	3600
xcache.var_count	1	1
xcache.var_gc_interval	300	300
xcache.var_maxttl	0	0
xcache.var_size	0M	0M
xcache.var_slots	8K	8K
xcache.var_ttl	0	0

 

Kastei rams ~570mb.

 

PHP 5.2.10 (cli) (built: Nov 13 2009 11:44:05)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
   with XCache v1.2.1, Copyright (c) 2005-2007, by mOo

lighttpd/1.4.26 (ssl) - a light and fast webserver

 

xcache.ini - tīrs copy/paste bez saprašanas parametru būtībā. Varbūt kāds ar iepriekšēju pieredzi var padalīties gudrībās?

Edited by baigi interesanti
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...