All jobs failing for one org in Tanzu Platform for Cloud Foundry
search cancel

All jobs failing for one org in Tanzu Platform for Cloud Foundry

book

Article ID: 404677

calendar_today

Updated On:

Products

VMware Tanzu Application Service

Issue/Introduction

Customer saw these error messages in scheduler logs.

2025-07-16T14:32:08.427-03:00 [APP/PROC/WEB/0] [OUT] 2025-07-16T17:32:08.426Z ERROR 7 --- [ scheduling-1] o.s.s.s.TaskUtils$LoggingErrorHandler : Unexpected error occurred in scheduled task
2025-07-16T14:32:08.427-03:00 [APP/PROC/WEB/0] [OUT] org.springframework.orm.ObjectOptimisticLockingFailureException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [io.pivotal.scheduler.domain.History#<guid>]
2025-07-16T14:32:08.427-03:00 [APP/PROC/WEB/0] [OUT] at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:329) ~[spring-orm-6.2.6.jar:6.2.6]
2025-07-16T14:32:08.427-03:00 [APP/PROC/WEB/0] [OUT] at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:256) ~[spring-orm-6.2.6.jar:6.2.6]
2025-07-16T14:32:08.427-03:00 [APP/PROC/WEB/0] [OUT] at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:244) ~[spring-orm-6.2.6.jar:6.2.6]
2025-07-16T14:32:08.427-03:00 [APP/PROC/WEB/0] [OUT] at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:566) ~[spring-orm-6.2.6.jar:6.2.6]


Jobs are failing for all spaces related with one Org.

Cause

Memory used by jobs in the org were limited by quota set for the org. Any new job was failing due to memory being constrained by the quota.

Resolution

Quota for an org can be check in Apps Manager or using the cf commands.

To view Cloud Foundry (CF) quota details for an organization, you can use the cf org and cf quota commands. First, use cf org <org_name> to view your organization details, and then locate the quota name in the output. Finally, use cf quota <quota_name> to see the specific limits set by that quota.