Highlighted
Absent Member.
Absent Member.
64 views

Error in Application server service

Hi there,

We are getting following error in the application server service window:
"Error when writing to logfile, out of memory?
Trace AppSchduledTask."

What corrective measure should i take to avoid this error? Where will I check for more details? We are using SD4.5(SP9).

Kindly give me some solution.

Thanks & Regards,
Smitha
0 Likes
11 Replies
Highlighted
Absent Member.
Absent Member.

Re: Error in Application server service

Hi.

What is size of file logserver.txt in directory C:\Program Files\Hewlett-Packard\OpenView\service desk 4.5\server\log ?
(If size to big, you need to change it).
And check how many sheduled Tasks on your server.
Ypu can see that in System--> Busness Logic--> ShedulerTasks.

If it to much, sometime server gives erorrs.
Once, i solve this problem.

Hope this help

Best regards,
Alexey.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Error in Application server service

Hi,

We used to take care logserver.txt log. In scheduled task we have more than 1000 jobs. It is restricted to 1000 rows. How can we control this?

Regards,
Smitha
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Error in Application server service

Hi.
All that you can do, control some rules ,wich used sheduler task, and used minimus this functions.


Also , Iam not sure that problem in this.

Try in test database (backup of our database)
delete all AppSchduledTask tasks, and connect to app server in this database.

Delete AppSchduledTask you can with this script :

delete from rep_javaobjects
where jav_entity = (
select ent_oid
from ifc_entities
where ent_name = 'Scheduled Tasks')

Hope this help.

Best regards,
Alexey.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Error in Application server service

Scheduled tasks consume quite a bit of memory and may be a contributor to the problem. You can check the number of tasks by running this query:

select ent_name, count(*)
from sdrep.rep_javaobjects,
sdrep.ifc_entities
where ent_oid = jav_entity
group by ent_name;

There is also a way to remove the limit on scheduled tasks in the admin panel but it requires a direct manipulation of the database. In the IFC_ENTITIES table, look for an entity named (ENT_NAME) "scheduled Tasks". The field ENT_QUERYMAX should contain the number of scheduled tasks the system can return. You can increase this value if you want but remember that if you have a lot tasks, it will take some time to display them through the admin panel.

HP Support has told us that generally, running more than 10000 scheduled tasks per server can impact the system. Of course, this can depend on how your server is setup and what kind of hardware you own.

Tim
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Error in Application server service

Also, do you have log rule debug enabled in the application server setup?

Tim
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Error in Application server service

Hi there,

Thank u for the support. I checked the count of scheduled task, its 4702. What is the impact if I delete those task? We do not have a test setup.
Where should I check where debug is enabled or not?

Thanks & Regards,
Smitha
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Error in Application server service

Hi there,

Check deug in System-->System Panel-->General settings--> Rule manager debg (more details Entris in Log file)

If you delete sheduler, rules, which started
with this, not finished. (Like rule, that send email,after 2 hours when servicecall status is solved)

Best regards,
Alexey.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Error in Application server service

Hi there,

So that means what ever scheduled task is completed or having old date can be deleted.
Yes, we have enabled rule manager debug. What information can I get from that?

Regards,
Smitha
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Error in Application server service

Hi.

If chekbox enabled in rule manager debug
that mean that in log file you can see more information.

If scheduled task work correctly, this jobs disappeared. If scheduled task is completed or having old date, i think, they may be deleted.

Attach last loserver.txt file

Best regards,
Alexey.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Error in Application server service

Hi,

Please find attached the file logserver.txt.

Regards,
Smitha
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Error in Application server service

hi!

When you turn on the Rules loggin, you will see each step that a rules takes. This is very helpfull, when you wnat to trouble shoot a Rule or when you try to optimize the rules.

You will get "Error when writing to logfile, out of memory",
01. The accout, in which SD is running don't have write access to the \log folder
02. There is no disk space

I hope you are taking the back up of the log file and keep it slim.

Normly,i tell me people not to turn on the DB Rule loggin, since it creates a LOT of logs. And use it when you are totally lost.

-Ashly
http://www.geocities.com/helponhpopenview
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.