{"action":"opened","issue":{"url":"https://api.github.com/repos/edwardcapriolo/kafka-rpm/issues/3","repository_url":"https://api.github.com/repos/edwardcapriolo/kafka-rpm","labels_url":"https://api.github.com/repos/edwardcapriolo/kafka-rpm/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/edwardcapriolo/kafka-rpm/issues/3/comments","events_url":"https://api.github.com/repos/edwardcapriolo/kafka-rpm/issues/3/events","html_url":"https://github.com/edwardcapriolo/kafka-rpm/issues/3","id":356659478,"node_id":"MDU6SXNzdWUzNTY2NTk0Nzg=","number":3,"title":"Kafka init script uses single redirect for $LOG_DIR/server.out","user":{"login":"satish-chef","id":9479581,"node_id":"MDQ6VXNlcjk0Nzk1ODE=","avatar_url":"https://avatars0.githubusercontent.com/u/9479581?v=4","gravatar_id":"","url":"https://api.github.com/users/satish-chef","html_url":"https://github.com/satish-chef","followers_url":"https://api.github.com/users/satish-chef/followers","following_url":"https://api.github.com/users/satish-chef/following{/other_user}","gists_url":"https://api.github.com/users/satish-chef/gists{/gist_id}","starred_url":"https://api.github.com/users/satish-chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satish-chef/subscriptions","organizations_url":"https://api.github.com/users/satish-chef/orgs","repos_url":"https://api.github.com/users/satish-chef/repos","events_url":"https://api.github.com/users/satish-chef/events{/privacy}","received_events_url":"https://api.github.com/users/satish-chef/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-04T05:38:51Z","updated_at":"2018-09-04T05:38:51Z","closed_at":null,"author_association":"NONE","body":"We have been using the kafka.init for our kafka nodes since last 3 years.  We migrated to st1 EBS 6 months ago and since last couple of weeks, many kafka consumer applications were crashing.\r\nAfter investigation, we found that the log rotation of the file  $LOG_DIR/server.out causes a very huge spike of all st1 EBS metrics - readops, writeops, queuelength etc.  \r\nAs per the link https://stackoverflow.com/a/32000663/9275164, since you are using single redirect in the kafka init script for the log file  $LOG_DIR/server.out, the copytruncate is not truncating the file and also converting it into a binary file.  \r\nAs i said earlier, this server.out log file size increased as the months passed and caused the kafka consumer applications to crash.\r\nI wanted to submit a PR for the change but its not allowing me to do so.\r\nPlease change this line in kafka init script:\r\n`/sbin/runuser -s /bin/sh $KAFKA_USER -c \"nohup $KAFKA_HOME/bin/kafka-server-start.sh $KAFKA_HOME/config/server.properties >> $LOG_DIR/server.out 2> $LOG_DIR/server.err &\"`\r\n\r\nError i get when i try to push code in your repo:\r\n~/test/kafka-rpm/SOURCES(kafka_bugfix) $ git push\r\nUsername for 'https://github.com': satish1.bbi@gmail.com\r\nPassword for 'https://satish1.bbi@gmail.com@github.com':\r\nremote: Permission to edwardcapriolo/kafka-rpm.git denied to satish-chef.\r\nfatal: unable to access 'https://github.com/edwardcapriolo/kafka-rpm.git/': The requested URL returned error: 403\r\n\r\nI guess you have disabled git push for your repository."}}
{"actor":{"display_login":"satish-chef"}}