Issue : Writing commits into the git repository takes longer than expected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

We are maintaining the different versions of data in git repository using jgit maven library. So, a commit is done on the repository containing properties such as author name, date and time, action, and the file path.
The file path refers the xml file which contains the action performed and is stored inside the repository.

We have a job running every 5 minutes that commits the information onto the repository and the XML file content is over-written every time. Usually, the commits and writing of XML file takes around 4-5 seconds but sometimes the time while committing as well as writing the data increases which also increase the overall CPU utilization of the machine. This behavior is inconsistent with respect to the process and occurs randomly but during this behavior, there is a time when the CPU utilization becomes high that all other running processes hangs up which demands the restart of the server.

Could you please suggest which areas should we look for while identifying the cause of this issue? Also, does frequent commit of the content onto repository can trigger this issue? 
In your view, what might be the trigger of this issue and how we can proceed to resolve it?

Thanks & Regards,
Arpit Gupta





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux