I just wanted to find out if memcache is associated with apache or works as a separate process. So, will we restart apache to clear the contents of memcache or not?
No. Memcache is not associated with the apache process. Memcached is a separate process.
HOWEVER, your application framework, if you use it, can restart memcache if you restart apache.
-daniel
You can also free memcached without reloading it:
telnet localhost 11211
11211 is the default port for memcached (if nothing is responding on this port, check your init script)
And in telnet:
flush_all
.
/etc/init.d/memcached restart
Source: https://habr.com/ru/post/1765050/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1765045/open-source-how-to-motivate-translators-to-bring-localizations-from-70-to-100-before-release&usg=ALkJrhh28jh-nWlaOsfwdNqVsFqx6RDBPQHow to implement a similar html-page scrubber, for example, to read or install Arc90? - htmlEasy way to export @ 2x images for retina display? - iphoneprintln (String s) vs println (Object o) - javased extracts several possible (?) values from a file - shellWPF loads serialized image - serializationget a list of partitions from an ini file using the shell (sed / awk) - awkhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1765053/how-to-make-sonatypes-nexus-repository-to-work-with-springsources-ebr&usg=ALkJrhhqKsrp0MywP3SXHJNUSYWf_9IOMgНужно ли когда-либо определять метод как "общедоступный"? - oophttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1765055/ios-apple-is-there-any-way-for-the-application-to-ask-the-os-to-block-the-device-in-that-application&usg=ALkJrhih1IcfzYxR6_R-QBZvjxH8XgjpbAAll Articles