APC restarted often again

semprot

Well-Known Member
#1
I am using lsws 4.2.5 with LSAPI 6.4, PHP 5.3.27
And APC is restarted often again (uptime 0-1 mins, max 5 mins).

I have tried to :
- switch to lsws 4.2.4
- switch to lsws 4.2.5 again
- increasing Memory Soft Limit (bytes) & Memory Hard Limit (bytes)
- reducing shm_size

I still have lot of memory
Code:
xxx@xxx[~]# free -m
             total       used       free     shared    buffers     cached
Mem:         24097      16047       8050          0       1986       9732
-/+ buffers/cache:       4327      19769
Swap:         2047          0       2047
Some lsws setting :
Run On Start Up >> Run On Start Up
Max Idle Time >> -1
External Application Abort >> No Abort

(more lsws setting in attachment)

My apc setting

Code:
Runtime Settings
apc.cache_by_default	1
apc.canonicalize	1
apc.coredump_unmap	0
apc.enable_cli	0
apc.enabled	1
apc.file_md5	0
apc.file_update_protection	2
apc.filters	
apc.gc_ttl	3600
apc.include_once_override	0
apc.lazy_classes	0
apc.lazy_functions	0
apc.max_file_size	20M
apc.mmap_file_mask	/home/apc_temp/apc.WLIZGD
apc.num_files_hint	0
apc.preload_path	
apc.report_autofilter	0
apc.rfc1867	0
apc.rfc1867_freq	0
apc.rfc1867_name	APC_UPLOAD_PROGRESS
apc.rfc1867_prefix	upload_
apc.rfc1867_ttl	3600
apc.serializer	default
apc.shm_segments	1
apc.shm_size	6144M
apc.slam_defense	0
apc.stat	0
apc.stat_ctime	0
apc.ttl	0
apc.use_request_time	1
apc.user_entries_hint	0
apc.user_ttl	0
apc.write_lock	1
 

Attachments

Last edited:

semprot

Well-Known Member
#3
ok after i am offline for some hours (still 4.2.5), i just checked apc uptime and it was 1 hour and 45 minutes. but when i opened heavy page (admin page), and lot of processes there, the uptime suddenly dropped again & uptime is short.
-----
Update : i am trying 4.2.4 now, and will see the uptime in 1 hour.
Meanwhile i see this warn log (on attachment), is it somehow related with APC uptime?
------
Update 2 : after trying 4.2.4 for 15 minutes, even when i opened heavy page, APC seems more stable and uptime can reach at least 10 mins easily now. Will watch more.
-----
Update 3 : I've confirmed that 4.2.4 works better than 4.2.5 in term of APC uptime.
Maybe you can do some testing to confirm this?
 

Attachments

Last edited:

wanah

Well-Known Member
#4
Your apc file mask seems wrong if I remember correctly it shoud be 6 uppercase Xs in the config file (XXXXXX). maybe this is the result you have shown us and not the actual config file ?
 
Top