Rails-Mysql RDS Freeable memory dropping -


i've mentioned rails in question because looks related application. in production, havn't specified wait_timeout parameter (don't kill me this, figured out) , heavy operations going on these days. see regular drop of 10 mb or on our production rds. though freeable memory quite high come down soon. on running show full processlist;, saw many queries in sleep state time field shows value high 7 10 days.

  1. is normal ? if server processes running, same connection getting used still, high value ? these values disappear on next deployment (or when restart services) ?

  2. is there way on rails application level fix ? mysql global wait timeout value 8 hours, how possible threads in sleep state last 7 - 10 days ?

  3. there heavy query run 2 months ago due saw sharp drop of 1 gb. can memory ever recovered without database restart ? application restart possible (in parts).


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -