Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llm sherpa deployed in eks cluster with 4vcpu and 16gb ram not working properly #74

Open
gireesh99 opened this issue Jul 4, 2024 · 1 comment

Comments

@gireesh99
Copy link

I have an EKS cluster and my api is running on it and llmsherpa is running on a seperate worker node in the cluster with llm sherpa as the only pod running on this worker node.

I am facing this issue:
raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

my manifest file :
apiVersion: apps/v1
kind: Deployment
metadata:
name: nlm-ingestor # Replace with a more descriptive name if needed
spec:
replicas: 1 # Adjust the number of replicas as needed
selector:
matchLabels:
app: nlm-ingestor
template:
metadata:
labels:
app: nlm-ingestor
spec:
nodeSelector:
node_type: nlm-ingestor
containers:
- name: nlm-ingestor
image: ghcr.io/nlmatics/nlm-ingestor:latest
ports:
- containerPort: 5001
name: nlm-ingestor
protocol: TCP

 ----------------------------
 my service :
 apiVersion: v1

kind: Service
metadata:
name: nlm-ingestor-service
spec:
selector:
app: nlm-ingestor
ports:

  • protocol: TCP
    port: 5010
    targetPort: 5001
    nodePort: 30006
    name: nlm-ingestor
    type: NodePort

and my llmsherpa url is llmsherpa_api_url = "http://nlm-ingestor-service:5010/api/parseDocument?renderFormat=all"

if the file is very small is it is working, if the file is larger than 1mb it is raising the above error.

any leads what's the issue or how to resolve this would be a great help!

@ansukla
Copy link
Member

ansukla commented Jul 4, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants