<commit_before>check process fastcgi-<%= application %> with pidfile "<%= django_fcgi_pid_path %>"
    start program = "<%= django_fcgi_remote_script %> start"
          as uid <%= user %>
    stop  program = "<%= django_fcgi_remote_script %> stop"
          as uid <%= user %>
    if failed unixsocket <%= django_fcgi_socket_path %>
        send "\0x01\0x09\0x00\0x00\0x00\0x00\0x08\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00"
        expect "\0x01\0x0A"
        timeout 5 seconds
        then restart
    if totalmem > 350.0 MB for 5 cycles then exec "<%= django_fcgi_remote_script %> reload" as uid <%= user %>
    if totalmem > 350.0 MB for 7 cycles then restart
    if 5 restarts within 5 cycles then alert<commit_msg>Fixed monit template for django_fcgi<commit_after>check process fastcgi-<%= application %> with pidfile "<%= django_fcgi_pid_path %>"
    start program = "<%= django_fcgi_script_path %> start"
          as uid <%= user %>
    stop  program = "<%= django_fcgi_script_path %> stop"
          as uid <%= user %>
    if failed unixsocket <%= django_fcgi_socket_path %>
        send "\0x01\0x09\0x00\0x00\0x00\0x00\0x08\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00"
        expect "\0x01\0x0A"
        timeout 5 seconds
        then restart
    if totalmem > 350.0 MB for 5 cycles then exec "<%= django_fcgi_script_path %> reload" as uid <%= user %>
    if totalmem > 350.0 MB for 7 cycles then restart
    if 5 restarts within 5 cycles then alert
{'fraction_non_alphanumeric': 0.11588275391956374, 'fraction_numerical': 0.08997955010224949, 'mean_word_length': 2.9568733153638815, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6877286', 'n_tokens_mistral': 609, 'n_tokens_neox': 506, 'n_words': 133}