While running the application can only create a file but cannot write to any file

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have an application that writes to a log file and also creates other files as it runs. What I am seeing happening is in some rare cases, the application is running fine (creating and writing files and appending to the log file) and then suddenly the application can continue to create and delete files, but the application cannot write to a file. The log file stops writing in the middle of a line and other files that are created are 0 bytes because we could not write to them.
Rebooting the machine helps and we can create and write files with no issue. All affected machines are running either RHEL6 or CentOS 6.
Does anyone have any clue what might cause this behavior?
linux files logs
add a comment |Â
up vote
0
down vote
favorite
I have an application that writes to a log file and also creates other files as it runs. What I am seeing happening is in some rare cases, the application is running fine (creating and writing files and appending to the log file) and then suddenly the application can continue to create and delete files, but the application cannot write to a file. The log file stops writing in the middle of a line and other files that are created are 0 bytes because we could not write to them.
Rebooting the machine helps and we can create and write files with no issue. All affected machines are running either RHEL6 or CentOS 6.
Does anyone have any clue what might cause this behavior?
linux files logs
1
First thing I'd check was to see if the filesystem was full; was it?
â Jeff Schaller
Nov 20 '17 at 18:08
The filesystem is not full. It is on a 100GB partition with only 7.3GB used.
â nnnn
Nov 20 '17 at 18:48
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have an application that writes to a log file and also creates other files as it runs. What I am seeing happening is in some rare cases, the application is running fine (creating and writing files and appending to the log file) and then suddenly the application can continue to create and delete files, but the application cannot write to a file. The log file stops writing in the middle of a line and other files that are created are 0 bytes because we could not write to them.
Rebooting the machine helps and we can create and write files with no issue. All affected machines are running either RHEL6 or CentOS 6.
Does anyone have any clue what might cause this behavior?
linux files logs
I have an application that writes to a log file and also creates other files as it runs. What I am seeing happening is in some rare cases, the application is running fine (creating and writing files and appending to the log file) and then suddenly the application can continue to create and delete files, but the application cannot write to a file. The log file stops writing in the middle of a line and other files that are created are 0 bytes because we could not write to them.
Rebooting the machine helps and we can create and write files with no issue. All affected machines are running either RHEL6 or CentOS 6.
Does anyone have any clue what might cause this behavior?
linux files logs
edited Nov 20 '17 at 18:08
Jeff Schaller
32.1k849109
32.1k849109
asked Nov 20 '17 at 17:38
nnnn
1
1
1
First thing I'd check was to see if the filesystem was full; was it?
â Jeff Schaller
Nov 20 '17 at 18:08
The filesystem is not full. It is on a 100GB partition with only 7.3GB used.
â nnnn
Nov 20 '17 at 18:48
add a comment |Â
1
First thing I'd check was to see if the filesystem was full; was it?
â Jeff Schaller
Nov 20 '17 at 18:08
The filesystem is not full. It is on a 100GB partition with only 7.3GB used.
â nnnn
Nov 20 '17 at 18:48
1
1
First thing I'd check was to see if the filesystem was full; was it?
â Jeff Schaller
Nov 20 '17 at 18:08
First thing I'd check was to see if the filesystem was full; was it?
â Jeff Schaller
Nov 20 '17 at 18:08
The filesystem is not full. It is on a 100GB partition with only 7.3GB used.
â nnnn
Nov 20 '17 at 18:48
The filesystem is not full. It is on a 100GB partition with only 7.3GB used.
â nnnn
Nov 20 '17 at 18:48
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f405821%2fwhile-running-the-application-can-only-create-a-file-but-cannot-write-to-any-fil%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
First thing I'd check was to see if the filesystem was full; was it?
â Jeff Schaller
Nov 20 '17 at 18:08
The filesystem is not full. It is on a 100GB partition with only 7.3GB used.
â nnnn
Nov 20 '17 at 18:48