Hi. every one. I made a purge plugin. it creates and maintains hash memory to manage already purged objects.
To keep hash memory slim I create a thread which clean expired objects periodically. At first I used sigaction and SIGALRM but sometimes traffic server gets hang-up. The log pattern showed if traffic manager signal ‘10009’ and my signal happens almost at the same time traffic server stops and doing nothing for a couple of minutes. After a while traffic server forced to shutdown and restart. Now I don’t use signal in my plugin. but I wonder why I can’t use signal? and How can I avoid it even when I use signal? Thanks… Success, it REALLY is a mind game.
