Перейти к публикации
View in the app

A better way to browse. Learn more.

Дизайн и модификация Invision Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Настройка Xcache

Опубликовано:

Xcache я установил давно, и он вроде работает.

 

 

Дефолтных настроек не менял никаких.

 

 

[xcache]

xcache.shm_scheme = "mmap"

xcache.size = 128M

xcache.count = 1

xcache.slots = 1K

xcache.ttl = 3600

xcache.gc_interval = 300

 

; Same as aboves but for variable cache

; If you don't know for sure that you need this, you probably don't

xcache.var_size = 4M

xcache.var_count = 1

xcache.var_slots = 1K

xcache.var_ttl = 3600

xcache.var_maxttl = 3600

xcache.var_gc_interval = 300

 

; N/A for /dev/zero

xcache.readonly_protection = Off

 

; for *nix, xcache.mmap_path is a file path, not directory.

; Use something like "/tmp/xcache" if you want to turn on ReadonlyProtection

; 2 group of php won't share the same /tmp/xcache

; for win32, xcache.mmap_path=anonymous map name, not file path

xcache.mmap_path = "/dev/zero"

 

xcache.cacher = On

xcache.stat = On

 

А наверное надо бы.

 

Вот скриншот из админки xcache

41c9558a580at.jpg

php#0 - 34%

var#0 - 54%

 

а вот статистика за последние сутки:

непосредственно xcache

5aa39184e571.png

 

42a33580162d.png

 

и память:

5b1d0d325e93.png

 

С одной стороны, говорят "работает - не трогай".

С другой, думаю тут надо настроить и оптимизировать.

На что обращать внимание? Какие результаты кеширования считать нормальными?

Что и как донастроить учитывая специфику IPB ?

Какие настройки стоят у вас?

 

VPS {CPU 2.2 Ghz, RAM 2 Gb}

Рекомендованные сообщения

Опубликовано:

Это все настраивается индивидуально, методом проб и ошибок. И вообще, можете не заморачиваться - на графике все вполне прилично выглядит.

 

А что у вас на сервере происходит каждые 12 часов? :)

Создайте аккаунт или войдите в него для комментирования

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.