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

The name of the pictureThe name of the pictureThe name of the pictureClash 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?







share|improve this question


















  • 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














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?







share|improve this question


















  • 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












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?







share|improve this question














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?









share|improve this question













share|improve this question




share|improve this question








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












  • 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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

Peggy Mitchell

The Forum (Inglewood, California)

Palaiologos